Findpeaks-matlab function

Source: Internet
Author: User
Tags scalar

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
Neighboring samples or is the 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
is greater than minpeakheight MPH specifying a minimum peak height
Reducing the processing time. MPH is a real valued scalar.
The default value of MPH Is-inf.

[...] = Findpeaks (X, ' minpeakdistance ', MPD) finds peaks that is at
Least separated by Minpeakdistance MPD. MPD is a positive integer
Valued scalar. This parameter is specified to ignore smaller peaks
That could occur in close proximity to a large local peak. For example,
If a large local peak occurs at index N and then all smaller peaks in the
Range (N-MPD, N+MPD) is ignored. If not specified, MPD is assigned a
Value of one.

[...] = Findpeaks (X, ' THRESHOLD ', TH) finds peaks that is at least
Greater than their neighbors by the THRESHOLD TH. TH is real valued
scalar greater than or equal to zero. The default value of TH is zero.

[...] = Findpeaks (X, ' Npeaks ', NP) specifies the maximum number of peaks
To is found. NP is an integer greater than zero. If not specified, all
Peaks is returned.

[...] = Findpeaks (X, ' sortstr ', STR) specifies the direction of sorting
of peaks. STR can take values of ' ascend ', ' descend ' or ' none '. If not
Specified, STR takes the value of ' none ' and the peaks is returned in
The order of their occurrence.

See also Dspdata.findpeaks

Overloaded methods:
Dspdata.findpeaks

Findpeaks-matlab function

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.