Info
此问题已关闭。 请重新打开它进行编辑或回答。
obtaining the maximum values from the series
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(2 个)
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 个评论
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
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.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!