how to find duration of peak; starting and ending points
55 次查看(过去 30 天)
显示 更早的评论
I've used findpeaks to isolate the largest peak in my signal. I wanted some help in finding the duration of the peak aka the starting and ending points of this peak, so that I could calculate area under curve? Right now Im having to visually inspect and pick arbitrary points to define this start and end points.
0 个评论
采纳的回答
Star Strider
2020-2-25
Experiment with ths ischange function, and if you have the Signal Processing Toolbox, the findchangepts function.
7 个评论
更多回答(3 个)
Alexis
2021-7-9
编辑:Alexis
2021-7-9
I had a similar issue, although I was working with biological signals. You could try the function I wrote to solve my problem: https://uk.mathworks.com/matlabcentral/fileexchange/81066-breathtimes?s_tid=srchtitle
0 个评论
Lam Ha
2023-6-9
Hi, I'm doing my research and meet the same problems as you. Have you calculated the peak duration? Can you share to me how to calculate the peak duration? Thank you so much in advance
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Signal Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!