Ältere Kommentare anzeigen
i want to calculate the maximum of vectors éléments and its position using the diff command, can any one help me ?
2 Kommentare
John D'Errico
am 29 Nov. 2018
Why not just use max? Since it does exactly what you claim to want.
diff as applied to a vector will not help you here.
diadalina
am 29 Nov. 2018
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Mathematics and Optimization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!