Localpeaks
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.
Cita come
Christopher Hummersone (2025). Localpeaks (https://github.com/IoSR-Surrey/MatlabToolbox), GitHub. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Signal Processing > Signal Processing Toolbox > Measurements and Feature Extraction > Descriptive Statistics >
Tag
Riconoscimenti
Ispirato: Peak picking
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
+iosr
+iosr/+acoustics
+iosr/+auditory
+iosr/+bss
+iosr/+dsp
+iosr/+figures
+iosr/+general
+iosr/+statistics
+iosr/+svn
Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.7.0.0 | Corrected description.
|
|
|
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 |