generating random no. between -pi to pi

2 visualizzazioni (ultimi 30 giorni)
SAHIL SAHOO
SAHIL SAHOO il 29 Set 2022
Risposto: Torsten il 29 Set 2022
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

Risposte (1)

Torsten
Torsten il 29 Set 2022
See the example
Random Numbers within Specified Intervals
under

Categorie

Scopri di più su Random Number Generation in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by