How do you get ten random values between -pi/2 and pi/2
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to get ten values for theta in the range of (-pi/2, pi/2)
How do I get these?
0 commentaires
Réponses (2)
John D'Errico
le 26 Mar 2019
Read the help for rand. (Why not do this?)
In there, you will find an explicit example of exactly how to do this.
help rand
doc rand
0 commentaires
Voir également
Catégories
En savoir plus sur Random Number Generation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!