关于产生白噪声序列的一个小问题。

xi=sqrt(0.1)*randn(L,1);
为什么产生白噪声序列,这个代码里前面要加个sprt(0.1)?

回答(1 个)

0 个投票

randn 是标准正态分布的命令
函数没有后面的参数(均值,方差)
可以用: normrnd
normrnd的来源也是 randn。
normrnd 在统计工具箱,可以编辑,核心部分randn不可以弄。
randn在matlab核心部分,属于内部函数。
同时,matlab很多的命令可能有共通之处。数学就是统一。
怎么用,可能是个人的习惯、认识。
吃饭,一定要用筷子?

类别

帮助中心File Exchange 中查找有关 Earth and Planetary Science 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!