How can I find the peak values of a curve?
显示 更早的评论
Hi all!
So I have these curves which have several peaks. Can anyone please tell me how can I detect the peaks and put a value to those points? The attached picture is manually created -

Any feedback from you will be highly appreciated! Thank you!
采纳的回答
更多回答(1 个)
Cris LaPierre
2022-8-31
1 个投票
If you are using a live script, I suggest using the Find Local Extrema task. You can see an introduction to this tool in this recent live stream. It will allow you to interactively find the right settings to identify your peaks. If you prefer to do it programmatically, look into the findpeaks function.
类别
在 帮助中心 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

