location of 10 highest values
Show older comments
Hi all, I have a 1x34 matrix. I want to find the location of the 10 largest values. So the output should be 1x10 and have values like 2,3,6 etc......
Thank you.
Accepted Answer
More Answers (1)
the cyclist
on 25 Jul 2012
0 votes
Use the sort() command.
Categories
Find more on Shifting and Sorting 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!