generating random no. between -pi to pi

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

Réponses (1)

Catégories

En savoir plus sur Random Number Generation dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by