[問題] white noise

看板MATLAB作者 (...)時間18年前 (2006/04/17 17:11), 編輯推噓3(304)
留言7則, 4人參與, 最新討論串1/1
請問怎麼產生white noise 讓它 mean=0 standard deviation=0.5 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.16.102

04/17 17:18, , 1F
0.5*randn(1,N)
04/17 17:18, 1F

04/17 17:51, , 2F
normrnd(0,0.5,N,M);%N,M代表NxM的矩陣
04/17 17:51, 2F

04/17 21:30, , 3F
順便問 那產生介於+-0.5的random 該怎樣寫?
04/17 21:30, 3F

04/17 21:32, , 4F
產生100*1介於+-0.5的random 感謝
04/17 21:32, 4F

04/17 22:51, , 5F
uniform? rand(M,N)*200 -100
04/17 22:51, 5F

04/17 22:52, , 6F
ㄟ~ rand(N,M)-0.5 才對orz
04/17 22:52, 6F

06/18 16:13, , 7F
help wgn
06/18 16:13, 7F
文章代碼(AID): #14Grl88F (MATLAB)
文章代碼(AID): #14Grl88F (MATLAB)