Find the number of the row

Hello everyone,
If i have a table for ex. Table=[4;3;2;1] How can i take the number of row with the lower number?
min(Table) gives the number 1. How can i find the number of row that 1 is?
Thanks

 Accepted Answer

[minval, minidx] = min(Table);

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!