FIR Filter Design(有限冲击响应滤波器设计)

源代码在线查看: ddiff.m

软件大小: 6 K
上传用户: foreverxiluzai
关键词: Design Filter FIR 响应滤波器
下载地址: 免注册下载 普通下载 VIP

相关代码

				% ddiff.m - ideal lowpass differentiator FIR filter				%				% h = ddiff(wc, N) = row vector				%				% N = 2M+1 = filter length (odd)				% wc in rads/sample								function h = ddiff(wc, N)								M = (N-1)/2;								for k = -M:M,				  if k == 0,				    h(k+M+1) = 0;				  else				    h(k+M+1) = wc * cos(wc * k) / (pi * k) - sin(wc * k) / (pi * k^2);				  end				end							

相关资源