用C语言改写的Matlab中的几个函数,适用于嵌入式设备。其中
void dwt_filter(double *inp,double *outa,double *outd, char *name,int len);
char hampel(float *Y1, float *uhy, unsigned int len, unsigned int window_size, float n_sigmas);
void moving_average(double *src, int len, int windows_size);
经验证于matlab中函数执行结果相同
1