MATLAB: Creating random number from -pi to pi

MATLABsignal

How to create random numbers from -pi to pi?

Best Answer

(rand() * 2 - 1) * pi