Generating random variables with decimal points

1 view (last 30 days)
How can I generate random variables from 20 to 30 with decimal points?

Answers (1)

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

Categories

Find more on Random Number Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!