How to get the cell number with the maximum value of a vector with Simulink
Ältere Kommentare anzeigen
Hello everybody!
I am trying to get the number of the cell with the maximum value of a vector.
I know to do this in matlab using the command [value, cell_number] = max(vector(1,:)).
I need the "cell_number" value.
How to get it in Simulink?
Many thanks, Daniel.
Akzeptierte Antwort
Weitere Antworten (1)
Dani Tormo
am 5 Nov. 2012
0 Stimmen
Kategorien
Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!