实现各种滤波器和改进型

源代码在线查看: blockcon.c

软件大小: 11 K
上传用户: quanliao77
关键词: 滤波器 改进型
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* blockcon.c - block convolution by overlap-add method */								void conv();								void blockcon(M, h, L, x, y, ytemp)				double *h, *x, *y, *ytemp;                    /* ytemp is tail of previous block */				int M, L;                                     /* \(M\) = filter order, \(L\) = block size */				{				    int i;								    conv(M, h, L, x, y);                      /* compute output block y */								    for (i=0; i				        y[i] += ytemp[i];                     /* add tail of previous block */				        ytemp[i] = y[i+L];                    /* update tail for next call */				        }				}							

相关资源