Finding minimums and maximums of repetitive numbers in a matrix
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Vahid Esmaeili
am 16 Jul. 2020
Kommentiert: Vahid Esmaeili
am 16 Jul. 2020
Hello,
Would you please assist me to find minimums and maximums of repetitive numbers in the attached matrix (EXCEL file). Actually, corresponding values of red ovals and green and blue arrows are different events recorded as biomechanical data during human gait. I am a beginner and need explanation to understand how to calculate the corresponding values. Thank you very much.

2 Kommentare
Akzeptierte Antwort
David Hill
am 16 Jul. 2020
Might need to filter slightly to smooth data to obtain consistent results.
redA=islocalmax(a)&a>.1;
greenA=islocalmin(diff([a(1);a]))&a<.03;
blueA=islocalmin(a)&a<.03
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Preprocessing 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!