clocal_mean.h

来自「经验模式分解的工具箱和相应的应用示例!希望对大家有用!」· C头文件 代码 · 共 30 行

H
30
字号
/** G. Rilling, last modification: 3.2007* gabriel.rilling@ens-lyon.fr** code based on a student project by T. Boustane and G. Quellec, 11.03.2004* supervised by P. Chainais (ISIMA - LIMOS - Universite Blaise Pascal - Clermont II* email : pchainai@isima.fr).*/#ifndef CLOCAL_MEAN_H
#define CLOCAL_MEAN_H

/* structure used to store envelopes and temporary data */
typedef struct {
  int n;
  double *re_min;
  double *ie_min;
  double *re_max;
  double *ie_max;
  double *tmp1;
  double *tmp2;
} envelope_t;

envelope_t init_local_mean(int);
int mean_and_amplitude(double *,COMPLEX_T *,COMPLEX_T *,double *,int,int,extrema_t *,envelope_t *);
int mean(double *,COMPLEX_T *,COMPLEX_T *,int,int,extrema_t *,envelope_t *);
void free_local_mean(envelope_t);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?