Maximum value and its position
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Guglielmo Giambartolomei
am 6 Mai 2021
Kommentiert: Guglielmo Giambartolomei
am 7 Mai 2021
Hello,
I have an accelerometric signal and I would like to find the maximum value of the column of the acceleration values and also at what time this maximum value happened (first column). How can I do that?
Thank you,
Guglielmo
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 6 Mai 2021
[maxvalue, maxidx] = max(Data(:,2))
time_of_max = Data(maxidx,1)
3 Kommentare
Walter Roberson
am 7 Mai 2021
[maxvalue, maxidx] = max(Data{:,2})
time_of_max = Data{maxidx,1}
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!