I am absolutely new to Matlab and am trying to create an m-by-n matrix containing numbers within a specified range (ie. between -1 and 1).
Is there an equivalent function to rand(m, n)
where I can specify the range myself or would I need to explicitely create a bunch of random numbers (as ie. was described in this answer) and create a matrix from them?
Any pointers to relevant Documentation, etc. highly appreciated.
help rand
– slayton Jan 23 '13 at 16:37