random Gaussian

2 views (last 30 days)
Ricky
Ricky on 27 Mar 2012
Hi there,
Could anyone tell me how to generate a random Gaussian of m x n matrix?
Cheers

Answers (2)

owr
owr on 27 Mar 2012
randn(m,n)

Jonathan Sullivan
Jonathan Sullivan on 28 Mar 2012
normrnd(mu,sig,m,n)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!