generating random no. between -pi to pi

1 visualización (últimos 30 días)
SAHIL SAHOO
SAHIL SAHOO el 29 de Sept. de 2022
Respondida: Torsten el 29 de Sept. de 2022
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

Respuestas (1)

Torsten
Torsten el 29 de Sept. de 2022
See the example
Random Numbers within Specified Intervals
under

Categorías

Más información sobre Random Number Generation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by