Generating random variables with decimal points

1 vue (au cours des 30 derniers jours)
Ajay Kumar
Ajay Kumar le 26 Jan 2019
How can I generate random variables from 20 to 30 with decimal points?

Réponses (1)

Stephan
Stephan le 26 Jan 2019
10*rand(25,1)+20

Catégories

En savoir plus sur Creating and Concatenating Matrices 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!

Translated by