CIC decimator impulse response
显示 更早的评论
hello all , I have a problem when designing CIC filter on matlab here is the code :
r=64;
m=1;
n=3;
IFL = 0; % Input fraction length
CIC = mfilt.cicdecim(r,m,n);
CIC.InputFracLength = IFL;
I use fvtool to check the impulse response
I also used the following code as another check for impulse response (w/o using fvtool):
x= [1 zeros(1,511-1)];
d=filter(CIC,x);
stem(d);
and I got response which is completely different from the first one
what is the problem ? I am intending to use fdhdltool for verilog code o/p after setting teh filter specs on matlab
Regards,
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Digital Filter Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!