Localpeaks

Find local peaks or troughs in a vector
3.2K 次下载
更新时间 2018/5/5

NOTE: this function is now available from the IoSR Matlab Toolbox as iosr.dsp.localpeaks.
-------------------------
LOCALPEAKS Find local peaks and troughs in a vector

SYNTAX

peaks = localpeaks(X)
peaks = localpeaks(X,MODE)


DESCRIPTION

peaks = localpeaks(X) locates the local peaks in vector X.

peaks = localpeaks(X,MODE) locates local features specified by MODE. MODE can be set to 'peaks' (default), 'troughs' in order to identify local troughs or 'both' in order to identify both local peaks and troughs.

引用格式

Christopher Hummersone (2024). Localpeaks (https://github.com/IoSR-Surrey/MatlabToolbox), GitHub. 检索来源 .

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

启发作品: Peak picking

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.7.0.0

Corrected description.
Corrected title.
Updated to address Christos Saragiotis' comment
Migrated to GitHub.

1.6.0.0

Updated description

1.2.0.0

Fixed a silly mistake, removed index output to bring the function more in line with MATLAB conventions (find(localpeaks(x)) would do the same), added an error trap

1.1.0.0

added the 'both' option, updated help, acknowledged other submission

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库