peakdetect.m
by Tom McMurray
01 Jun 2001
Generates and graphically displays the positive and negative polarity peak index vectors of input.
|
Watch this File
|
| File Information |
| Description |
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 |
| MATLAB release |
MATLAB 6.0 (R12)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (10) |
| 13 Sep 2001 |
Eric Shain
|
|
|
| 06 Jan 2003 |
Ingo Wenningmann
|
|
|
| 28 Aug 2003 |
Maurice Masequesmay
|
|
|
| 18 Sep 2003 |
Andre Frotta Muller
|
|
|
| 04 Oct 2003 |
zhe wu
|
|
|
| 09 Jul 2004 |
Zoltan German
|
|
|
| 11 Jan 2005 |
Dániel Hillier
|
|
|
| 18 Nov 2005 |
Claudia Lerma
|
|
|
| 03 May 2006 |
J W
|
|
|
| 15 Sep 2006 |
Bernard Simons
|
|
|
|
Contact us at files@mathworks.com