Info
This question is closed. Reopen it to edit or answer.
how to choose the number in a random manner
2 views (last 30 days)
Show older comments
A=[1 2 ;
4 5 ;
7 8 ;
10 11;
12 13;
14 15;
16 17 ;
18 19]
G=size(A,1)
C=1:G
Could anyone help me how to choose the number in C in a random manner,such that C can be 2 or 3 or 4 or 5 or 6.
2 Comments
Rik
on 19 Feb 2019
Jaah, please stop posting new questions instead of posting explanatory comments. You have been told this many times before.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!