Publisher review:peakdetect generates and graphically displays the positive and negative polarity peak index vectors of input. 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 6n =1 5 8 Requirements: ยท MATLAB Release: R12
peakdetect is a Matlab script for Signal Processing scripts design by Tom McMurray.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris