generating random no. between -pi to pi
Show older comments
I want to generate 5 random no. beteeen -pi to pi, by using the rand function, I use the rand function but couldn't understant the command to get in the range of -pi to pi
Answers (1)
Torsten
on 29 Sep 2022
1 vote
See the example
Random Numbers within Specified Intervals
under
Categories
Find more on Random Number Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!