find peaks of a flat signal
7 次查看(过去 30 天)
显示 更早的评论
why the findpeaks function cant find several peaks in my signal ?? as i observed, it only happen when the peak is flat, as i marked the noticed peaks with red circles from the findpeaks function, and it couldnt notice any flat peaks.![Screenshot (84).png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/270003/Screenshot%20(84).png)
![Screenshot (84).png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/270003/Screenshot%20(84).png)
i have been struggling like a few days to find the answer in the internet and i got nothing. Please help. I really appreciate any kind of answer. Thank you in advance.
0 个评论
采纳的回答
Star Strider
2020-2-5
If you have R2017b or later, use the islocalmax function, specifcially as described in the Flat Maxima Regions documentation section, using the FlatSelection name-value pair.
4 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!