i want produce a random number between 2 and 10 for example...
Show older comments
how can produce a random integer number that are not started with 1?
Accepted Answer
More Answers (1)
LY Cao
on 19 Oct 2013
0 votes
randi(9)+1
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!