How do you get ten random values between -pi/2 and pi/2
4 ビュー (過去 30 日間)
古いコメントを表示
I want to get ten values for theta in the range of (-pi/2, pi/2)
How do I get these?
0 件のコメント
回答 (2 件)
John D'Errico
2019 年 3 月 26 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Random Number Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!