zoukankan      html  css  js  c++  java
  • 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 to a large local peak. For example,
    if a large local peak occurs at index N, then all smaller peaks in the
    range (N-MPD, N+MPD) are ignored. If not specified, MPD is assigned a
    value of one.

    [...] = FINDPEAKS(X,'THRESHOLD',TH)finds peaks that are 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 be found. NP is an integer greater than zero. If not specified, all
    peaks are 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 are returned in
    the order of their occurrence.

    See also dspdata.findpeaks

    Overloaded methods:
    dspdata.findpeaks

  • 相关阅读:
    webstorm和git安装后,terminal输入git命令,提示'git' 不是内部或外部命令
    Vue中beforeRouterEnter和beforeRouteLeave的应用
    对象数组,对比多个数组的相同子元素并筛选
    应用canvas绘制动态时钟--每秒自动动态更新时间
    opacity 与rgba区别
    js对象的合并
    小程序wx.navigateTo和wx.redirectTo 都无效
    点赞博客园
    英语学习方法
    JAVA编程思想——分析阅读
  • 原文地址:https://www.cnblogs.com/wangduo/p/5537944.html
Copyright © 2011-2022 走看看