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

답변 (1개)

Torsten
Torsten 2022년 9월 29일

1 개 추천

See the example
Random Numbers within Specified Intervals
under

카테고리

도움말 센터File Exchange에서 Random Number Generation에 대해 자세히 알아보기

태그

질문:

2022년 9월 29일

답변:

2022년 9월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by