how to randomly select an element in a matrix
1 view (last 30 days)
Show older comments
cgo
on 19 Oct 2015
Commented: PANTHAGADA ANIL KUMAR
on 2 Apr 2020
Hi,
I have a matrix for example A = [1,2,3,4,5,6]; I would like to randomly select an element in A.
How do I do that?
0 Comments
Accepted Answer
More Answers (0)
See Also
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!