MATLAB Answers

How can I generate random number between 1 and 10, and at the same time I want to exclude number 3 & 6?

63 views (last 30 days)
Mohd Helmi Mansor
Mohd Helmi Mansor on 21 Mar 2019
Commented: Guillaume on 21 Mar 2019
How can I generate random number between 1 and 10, and at the same time I want to exclude number 3 & 6 using M-file?
  3 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!