random Gaussian

1 次查看(过去 30 天)
Ricky
Ricky 2012-3-27
Hi there,
Could anyone tell me how to generate a random Gaussian of m x n matrix?
Cheers

回答(2 个)

owr
owr 2012-3-27
randn(m,n)

Jonathan Sullivan
Jonathan Sullivan 2012-3-28
normrnd(mu,sig,m,n)

类别

Help CenterFile Exchange 中查找有关 Random Number Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by