微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > FPGA,CPLD和ASIC > 请教:使用Matlab设计CIC 如何查看系数

请教:使用Matlab设计CIC 如何查看系数

时间:10-02 整理:3721RD 点击:
本人使用mfilt.cicdecim设计积分梳妆滤波器,如下图所示:
hm = mfilt.cicdecim(4,1,6); %梳妆滤波器
Fs_in = 64e6; %输入时的采样率
% h = fvtool(hm,'Fs',Fs_in);
hgain = dfilt.scalar(1/gain(hm)); % Define gain
hcicnorm = cascade(hgain,hm);
fvtool(hcicnorm);
我如何才能看到hcicnorm的系数呢?
   还有类似的使用Matlab自带函数设计Filter,比如
clear;format long;
fs = 96e3;                                              % Input sampling frequency.
fpass = 4e3;                                            % Frequency band of interest.
m = 6;                                                  % Decimation factor.      
hcic = design(fdesign.decimator(m,'cic',1,fpass,100,fs));%设计一个抽取倍数为D=6,延时因子M=1,通带截止频率为4000hz,阻带衰减为100,采样频率为96000的抽取滤波器。
hd(1) = cascade(dfilt.scalar(1/gain(hcic)),hcic);          %%转化为归一化幅值,防止溢出
fvtool(hd);
hd(2) = design(fdesign.ciccomp(hcic.differentialdelay, ...
            hcic.numberofsections,fpass,4.5e3,.00001,100,fs/m));
        %%设计CIC补偿滤波器,通带带宽为4e3,采样频率16000,通带波纹为0.0001的补偿滤波器。
fvtool(hd(1),hd(2),...
cascade(hd(1),hd(2)),'Fs',[96e3 96e3/m 96e3])
为什么不能查看hd(1),hd(2)等的系数呢?请高手指点,不胜感激

顶一下,希望在Matlab方面有造诣的给我指点下,不胜感谢。

希望大家过来帮帮我啊

want to know also

你到matlab论坛去问吧,那里高手很多

去问了,没有人理我,杯具

yinggai meiyouxishu!

wag你好,请问你确定没有系数吗?

YTRYTRYTRYTRYRTY

CIC滤波器最大的特点就是没有乘法,说白了这里面只有delay和加减,没有系数

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top