Find local peaks or troughs in a vector
Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
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.
Citation pour cette source
Christopher Hummersone (2026). Localpeaks (https://github.com/IoSR-Surrey/MatlabToolbox), GitHub. Extrait(e) le .
Remerciements
A inspiré : Peak picking
Informations générales
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 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 |
