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
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: m...@yahoogroups.com
To Post: m...@yahoogroups.com
To Leave: m...@yahoogroups.com
More DSP-Related Groups: http://www.dsprelated.com/groups.php3
">Yahoo! Terms of Service.