io.h

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

H
57
字号
/** 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 EMD_IO_H#define EMD_IO_H#define GREATER(A,B) ((A) >= (B) ? (A) : (B))#define SMALLER(A,B) ((A) <  (B) ? (A) : (B))typedef struct {    double threshold;    double tolerance;} stop_t;/* structure used to store input data */typedef struct {  int n;  int max_imfs;  int allocated_x;  #ifdef _ALT_MEXERRMSGTXT_  int error_flag;  #endif  double *x;  double *y;  stop_t stop_params;} input_t;/* structure used to store an IMF and the associated number of iterations */typedef struct i {  int nb_iterations;  double *pointer;  struct i *next;} imf_t;/* structure of the IMF list */typedef struct {  imf_t *first;  imf_t *last;  int m;   int n; } imf_list_t;input_t get_input(int,int,const mxArray **);imf_list_t init_imf_list(int);void add_imf(imf_list_t *,double *,int);void free_imf_list(imf_list_t);void write_output(imf_list_t,mxArray **);#endif

⌨️ 快捷键说明

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