Info
This question is closed. Reopen it to edit or answer.
how to find the position of the max componunt
1 view (last 30 days)
Show older comments
for exemple if i have this matrix
1 0.5
2 0.2
3 0.4
4 0.7
5 0.6
left side is just the lebel to show the position. and I want to know the max value of the right side's components
in this case. [4 0.7 ]
0.7 for being the largest on left side and 4 for its position
and when I use max function, I only get [5 0.7] the max value of both side.
what should i do :(
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!