vickyuet
Member level 2
Rand generates uniformly distributed random values between [0 to 1], but I need values from [0 to 2*pi].Is there any method to explicitly force rand to generate values from above desired range instead of default [0 to 1]?.I had tried
Angle = (2*pi) * rand(1,10)
but not convinced.Any other approach or function to do this….
Angle = (2*pi) * rand(1,10)
but not convinced.Any other approach or function to do this….
Last edited: