For Programmers: Free Programming Magazines  


Home > Archive > Matlab > June 2007 > How to define the interval of "Rand"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to define the interval of "Rand"
Mike

2007-06-29, 7:14 pm

Hi
I am trying to use "Rand" to generate a random array, I know the
defaut interval of Rand is (0.0,0.1), so how can I make the interval
of Rand (-0.01,0.01)?

Thanks

Mike
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com