How to create a vector of random numbers(in Matlab), when each value is [0,1] .
And the sampling rate should be fixed ?
thanks
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It only takes a minute to sign up.
Sign up to join this communityHow to create a vector of random numbers(in Matlab), when each value is [0,1] .
And the sampling rate should be fixed ?
thanks
Sampling rate doesn't change anything. Simply call rand function:
x = rand(1, N);