peakdetect.m

Generates and graphically displays the positive and negative polarity peak index vectors of input.
9,9K download
Aggiornato 1 giu 2001

Nessuna licenza

peakdetect.m generates and graphically displays the positive and negative polarity (concave down and up) peak index vectors of an input signal vector. Positive and negative polarity peaks occur at points of positive to negative and negative to positive slope adjacency, respectively. The typically rare contingencies of peaks occurring at the lagging edges of constant intervals are supported.

Example:

[p,n]=peakdetect([-1 -1 0 1 0 1 0 -1 -1])

p =

4 6

n =

1 5 8

Cita come

Tom McMurray (2025). peakdetect.m (https://it.mathworks.com/matlabcentral/fileexchange/72-peakdetect-m), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R12
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Tag Aggiungi tag

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0