这个函数是存在的。>> help findpeaks
FINDPEAKS Find local peaks in data
PKS = FINDPEAKS(X) finds local peaks in the data vector X. A local peak
is defined as a data sample which is either larger than the two
neighboring samples or is equal to Inf.
[PKS,LOCS]= FINDPEAKS(X) also returns the indices LOCS at which the
peaks occur.
[...] = FINDPEAKS(X,'MINPEAKHEIGHT',MPH) finds only those peaks that
are greater than MINPEAKHEIGHT MPH. Specifying a minimum peak height
may help in reducing the processing time. MPH is a real valued scalar.
The default value of MPH is -Inf.
[...] = FINDPEAKS(X,'MINPEAKDISTANCE',MPD) finds peaks that are at
least separated by MINPEAKDISTANCE MPD. MPD is a positive integer
valued scalar. This parameter may be specified to ignore smaller peaks
that may occur in close proximity t