Generating random variables with decimal points

1 次查看(过去 30 天)
How can I generate random variables from 20 to 30 with decimal points?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Random Number Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by