Max Peak Distance (findpeaks)
43 次查看(过去 30 天)
显示 更早的评论
Hi, I'm using the 'findpeaks' function and i want to insert a min and max limit to the distance between the peaks. In the function there is only the parameter 'MinPeakDistance' and i need the equivalent "maxpeakdistance" too. Any suggestions? Thanks
1 个评论
Janak Thotakura
2017-10-12
Can you explain what exactly do you mean by 'maxpeakdistance' in finding peaks? An example would be helpful.
回答(2 个)
The Matlabinator
2017-10-14
I'm wondering about this too. There's a 'MinPeakDistance' that rejects peaks which are located within some specified distance. Is there an equivalent for peaks located above some threshold value?
0 个评论
Stefano Francavilla
2017-10-14
1 个评论
Devendra
2024-4-6
Thank you very much for providing very helpful matlab code to matlab community. I am very much eager to use your code on my NDVI time series data. I am attaching the NDVI data and my humble request to you please suggest me how to use your code on my data file. Further my thresholds for peaks height is 0.4 (NDVI value greater than 0.4) and distance is 60 days. With these constraints I want to find out number of peaks and they must be stored in a vector.
I would be highly obliged to you for your kind cooperation. Devendra
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!