I want to have one single number from the randomization process (Between 1 & 10). But the number must not be 3 & 6. So it can be either 1,2,4,5,7,8,9 or 10.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
3 Comments
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/451497-how-can-i-generate-random-number-between-1-and-10-and-at-the-same-time-i-want-to-exclude-number-3#comment_683960
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/451497-how-can-i-generate-random-number-between-1-and-10-and-at-the-same-time-i-want-to-exclude-number-3#comment_683960
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/451497-how-can-i-generate-random-number-between-1-and-10-and-at-the-same-time-i-want-to-exclude-number-3#comment_683966
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/451497-how-can-i-generate-random-number-between-1-and-10-and-at-the-same-time-i-want-to-exclude-number-3#comment_683966
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/451497-how-can-i-generate-random-number-between-1-and-10-and-at-the-same-time-i-want-to-exclude-number-3#comment_683989
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/451497-how-can-i-generate-random-number-between-1-and-10-and-at-the-same-time-i-want-to-exclude-number-3#comment_683989
Sign in to comment.