how to generate random number between two numbers ?

4 views (last 30 days)
i want to generate 100 numbers between 0 and 1 so is there is any command in matlab

Answers (1)

Matt J
Matt J on 17 Sep 2022
rand(1,100);

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!