generating random no. between -pi to pi

1 回表示 (過去 30 日間)
SAHIL SAHOO
SAHIL SAHOO 2022 年 9 月 29 日
回答済み: Torsten 2022 年 9 月 29 日
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

回答 (1 件)

Torsten
Torsten 2022 年 9 月 29 日
See the example
Random Numbers within Specified Intervals
under

カテゴリ

Help Center および File ExchangeRandom Number Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by