peaks - 1D peak finding without Signal Processing Toolbox

Find peaks in 1D data | Matlab findpeaks equivalent
33 Downloads
Aktualisiert 3. Apr 2023

Lizenz anzeigen

Peak finding algorithm for essential signal processing. Returns peak amplitudes and locations. Various filters can be selected such as minimal absolute value, threshold above the immediate surroundings or predefined minimal spacing between the peaks.
It's a replacement for Matlab's proprietary 'findpeaks' function using the same syntax. Does not require any additional Matlab toolbox, just the base program.
MinPeakHeight, Threshold and MinPeakDistance parameters are accepted, just like in Matlab's original function. As of this moment, peak prominence is not implemented yet.
Accepths a bare 1D input array and optional position vector or sampling value.
The peak finding algorithm works by comparing each point to its immediate surroudings. A point (n) is considered to be a peak if it is strictly greater than its immediate neighbors (n-1) and (n+1).
Personal note: annoyingly enough, Matlab's own function requires a separate Signal Processing Toolbox. This function is too essential in my daily work. I consider it too basic to be charged extra. Therefore, I tried to write a decent intro version of my own.

Zitieren als

Kristupas Tikuišis (2024). peaks - 1D peak finding without Signal Processing Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/127324-peaks-1d-peak-finding-without-signal-processing-toolbox), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2020a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.2

Updated description

1.0.1