Hi,
to generate an array of length X you can use:
rand_seq = rand(1,X);
This distribution is a continous uniform distribution from 0 to 1 with mean value 0.5.
If you want to create any uniform distribution you can use
rand_seq = V*rand(1,X) + Offset;
In this case V*rand(1,X) generates a c.u.d...