フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Searching for non maximal values

2 ビュー (過去 30 日間)
Joshua Isherwood
Joshua Isherwood 2017 年 5 月 22 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi, I am looking at ground reaction force data and wanting to look at the maximum values of the 1st and 2nd peaks as well as finding out the time of each event. So far i have managed to use [max_value, max_position] = max (variable) for the peak with the highest value. However I'm not sure how to find the maximum value and timing of the lower peak.
As well as the maximum values I am also interested in finding the minimum value between the two peaks (see attachment). I have managed to get the value but again struggling to figure out how to get the time of the event.
Any help would be much appreciated
Josh

回答 (1 件)

Jan
Jan 2017 年 5 月 22 日
編集済み: Jan 2017 年 5 月 22 日
See findpeaks . If you have determined the peak positions, you can use
[minValue, minPos] = min(Signal(peak(1):peak(2)))
to find the minimal value between two peaks.

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!