フィルターのクリア

Info

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

obtaining the maximum values from the series

1 回表示 (過去 30 日間)
Ede gerlderlands
Ede gerlderlands 2013 年 4 月 3 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have two series of readings (time, x) and (time, y). Both graphs have cyclic nature which respect to time. With peak and trough in random and different time interval. I want to find the the lag between maximum x and maximum y (each peaks) from the series and plot it against time. Can you help with that?

回答 (2 件)

Sean de Wolski
Sean de Wolski 2013 年 4 月 3 日
doc findpeaks
The problem with looking for the derivative to be zero is that this will almost never happen with real data unless you are saturating to some level. Instead, look for where the derivative changes sign()
  2 件のコメント
Ede gerlderlands
Ede gerlderlands 2013 年 4 月 3 日
Yes, I have used this function but couldn't left out the local maximums from the series . Is there any way of avoiding them ?
Sean de Wolski
Sean de Wolski 2013 年 4 月 4 日
Use the threshold option. Or find all of the peaks and then pick the best ones from that.

Image Analyst
Image Analyst 2013 年 4 月 4 日
Like I said in your duplicate question, if you want all the local peaks left out, then just use max() -- this will find the one global max.

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

Community Treasure Hunt

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

Start Hunting!

Translated by