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

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

Respuestas (1)

0 votos

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

Categorías

Más información sobre Earth and Planetary Science en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!