Local extrema finder

版本 1.1.0.0 (1.1 KB) 作者: Jonathan
A fast and simple local extrema finder.
176.0 次下载
更新时间 2016/11/26

查看许可证

This is an extremely fast and simple local extrema finder. It computes both local maxima and minima at the same time, and returns indices to the the corresponding values in the input vector (handling constant regions by returning the index of the first point). This is not a replacement of Matlab's findpeaks function, which is much more powerful and has many more options. But it can be used for performance in routines that rely a lot on local extrema (eg the Hilbert-Huang transform).

引用格式

Jonathan (2024). Local extrema finder (https://www.mathworks.com/matlabcentral/fileexchange/55347-local-extrema-finder), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Descriptive Statistics 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Handles long plateaus and inclusion of endpoints

1.0.0.0

The previous version offered a threshold parameter, but the associated code was incorrect (the correct way of dealing with thresholds uses topological prominence concepts), so I removed it.