由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - [转载] matlab 的菜菜菜菜鸟问题,大侠救命
相关主题
一个很基础的问题哪里有MATLAB下载,谢谢!
在x-win的matlab中按了一个键,suspend了[转载] Matlab on OS X problem
Is that possible to run a matlab program in background?[转载] 请教生成一个matlab matrix的问题
help on Matlab figure Edit (in Unix)how to install matlab6.5 under linux?
How to MATLAB in a 32-node Unix machine.help, matlab plot
Did anyone use CPLEX in UNIX, need help如何修改eps文件?
怎么在Unix/Linux下安装Matlab?Matlab Tutorial
[转载] Anybody know how to add toolbox to Xwin Matlab?plot diff between matlab and octave
相关话题的讨论汇总
话题: matlab话题: rand话题: infinite话题: 1000话题: 要求
进入Unix版参与讨论
1 (共1页)
r******a
发帖数: 1
1
【 以下文字转载自 EE 讨论区,原文如下 】
发信人: Romonada (大可不必), 信区: EE
标 题: matlab 的菜菜菜菜鸟问题,大侠救命
发信站: Unknown Space - 未名空间 (Sun Sep 28 18:24:22 2003) WWW-POST
巨简单的MATLAB
小弟实在第一次用MATLAB
题目要求先用RAND生成1000个随机数字(x)
要求模拟laplacian distribution
f(x) = (-1/2) exp(-|x|)
然后要求画出来sample的cdf, pdf图
欧的m file:
clear all
format long E
infinite = input (['Give me a positive number you assume to be close enough to
infinity\n']);
for i = 1:1000
r(i)=rand;
x(i) = infinite * 2 * (r(i) - 0.5);
end
sort(x)
for i = 1:1000
f(i
1 (共1页)
进入Unix版参与讨论
相关主题
plot diff between matlab and octaveHow to MATLAB in a 32-node Unix machine.
请教一个matlab x,y label 的问题Did anyone use CPLEX in UNIX, need help
请问在UNIX系统如何后台运行MATLAB 程序??怎么在Unix/Linux下安装Matlab?
help needed-install gcc/g++ 4.7 on ubuntu 14.04[转载] Anybody know how to add toolbox to Xwin Matlab?
一个很基础的问题哪里有MATLAB下载,谢谢!
在x-win的matlab中按了一个键,suspend了[转载] Matlab on OS X problem
Is that possible to run a matlab program in background?[转载] 请教生成一个matlab matrix的问题
help on Matlab figure Edit (in Unix)how to install matlab6.5 under linux?
相关话题的讨论汇总
话题: matlab话题: rand话题: infinite话题: 1000话题: 要求