minimum value and its index
Ältere Kommentare anzeigen
Dear all,
If I had 4 vectors each has one number like v1=56.3; v2=40.55; v3=-89.1; v4=74.2. How would I get the minimum value and its index in Simulink? In this case, the minimum is -89.1 and the index is 3.
Many thanks, Nadia
2 Kommentare
Azzi Abdelmalek
am 11 Feb. 2013
Why are you calling them vectors? Can you explain how are v1,v2, v3 & v4 imported to simulink?
Nadia
am 12 Feb. 2013
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu General Applications 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!