-
大小: 1.69MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-10-25
- 语言: Matlab
- 标签:
资源简介
用于描述移动模型的Matlab源代码,供大家讨论。
代码片段和文件信息
function out = RandDir(N)
% Generate a random vector from the set {+/- e_1 +/- e_2... +/- e_N}
% where e_i is the ith basis vector. N should be an integer.
I = round(ceil(2*N*rand));
if rem(I2) == 1
sgn = -1;
else
sgn = 1;
end
out = zeros(N1);
out(ceil(I/2)) = sgn*1;
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 16460 2008-10-10 17:09 DemoData.mat
文件 215335 2008-09-26 13:38 Demo_Image.gif
文件 305 2008-11-05 22:14 RandDir.m
文件 382 2008-09-30 18:50 RandomGraphMove.m
文件 8314 2009-01-07 14:43 RandomWalks.m
文件 81992 2008-11-05 22:06 RandomWalks.png
文件 8367 2009-01-07 14:38 RandomWalks_NoEconometrics.m
目录 0 2009-05-28 08:19 html\
文件 25339 2009-01-07 15:02 html\RandomWalks.html
文件 3953 2009-01-07 15:02 html\RandomWalks.png
文件 7315 2009-01-07 14:59 html\RandomWalks_01.png
文件 11726 2009-01-07 14:59 html\RandomWalks_02.png
文件 40887 2009-01-07 15:00 html\RandomWalks_03.png
文件 18503 2009-01-07 15:00 html\RandomWalks_04.png
文件 37130 2009-01-07 15:01 html\RandomWalks_05.png
文件 479030 2009-01-07 15:02 html\RandomWalks_06.png
文件 205989 2009-01-07 15:02 html\RandomWalks_07.png
文件 447235 2009-01-07 15:02 html\RandomWalks_08.png
文件 207793 2009-01-07 15:02 html\RandomWalks_09.png
文件 677 2009-01-07 14:59 html\RandomWalks_eq06570.png
文件 1448 2009-01-07 14:59 html\RandomWalks_eq24049.png
文件 925 2009-01-07 14:59 html\RandomWalks_eq27924.png
文件 444 2009-01-07 14:59 html\RandomWalks_eq27941.png
文件 1597 2009-01-07 14:59 html\RandomWalks_eq28134.png
文件 4268 2009-01-07 14:59 html\RandomWalks_eq40747.png
文件 562 2009-01-07 14:59 html\RandomWalks_eq53776.png
文件 556 2009-01-07 14:59 html\RandomWalks_eq69739.png
文件 455 2009-01-07 14:59 html\RandomWalks_eq70849.png
文件 461 2009-01-07 14:59 html\RandomWalks_eq79464.png
文件 408 2009-01-07 14:59 html\RandomWalks_eq79749.png
文件 688 2009-01-07 14:59 html\RandomWalks_eq81000.png
............此处省略3个文件信息
- 上一篇:基于多元线性回归的分析
- 下一篇:Turbo码matlab
评论
共有 条评论