DSP訊號處理的原始碼 開發工具為C和Matlab

源代码在线查看: block_convolution.c

软件大小: 38 K
上传用户: zyz5925629
关键词: Matlab DSP
下载地址: 免注册下载 普通下载 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 */				        }				}							

相关资源