Re: Random numbers

Started by siva prasad motamarri October 4, 2001

u can use 'rand' function in Matlab which gives the uniform random in
the range (0,1).
if u want Random numbers in (-1,1) use
so for (-100,100)

hope it will helps u.
if u aren't intrested to use 'rand' function mail me to know how to
generate them.

siva prasad motamarri You wrote:

I am trying to generate some random values ( say 20)in the range
say [-100 100]. What code do i use? Thanks. Mike

Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

About this discussion group:

To Join:

To Post:

To Leave:


More DSP-Related Groups:

">Yahoo! Terms of Service.