Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
how to find the position of the max componunt
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!