not choosing random numbers from the range specified
Show older comments
xrange = 50:100;
a= randi(numel(xrange),10,1);
why is it not choosing from the range 50 to 100? can anyone help me?
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices 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!