Reply by nirup reddy November 29, 20062006-11-29
randn will generate
The randn function generates arrays of random numbers whose elements
are normally distributed with mean 0, variance = 1, and standard
deviation=1

a=randn(51,1)wil generate 51 rows ..
b=randn(1,51) wil generate 51 columns

there is no diff between them
if u generate them separately then "a" need not be "b'"
becoz they are randomly generated
for more help type
help randn (in ur command window)

i think this answers ur question

Thanks and Regards
Nirup Kumar reddy

--- In m..., "icpower2000" wrote:
>
> Hi there!
> Question pls...
>
> whats the meaning of randn(51,1)?
> what if I reverse it to randn(1,51)?
>
> Thanks to all!
>
Reply by Amit Pathania November 29, 20062006-11-29
the notation for indices is (nrows, ncols)

so u have normally distributed random numbers given by randn(nrows, ncols)

this will give u a column in first case and a row in second case

icpower2000 wrote:
Hi there!
Question pls...

whats the meaning of randn(51,1)?
what if I reverse it to randn(1,51)?

Thanks to all!

Amit Pathania
Reply by icpower2000 November 28, 20062006-11-28
Hi there!
Question pls...

whats the meaning of randn(51,1)?
what if I reverse it to randn(1,51)?

Thanks to all!