How to know the order and coefficients of a new cascaded filter?

5 次查看(过去 30 天)
Hello everyone :)
I have 3 serial filters and I want to generate one cascaded filter. I used dfilt.cascade command in Matlab. How can I check the order and the new coefficients of the new filter?
The Matlab code is:
%%%%%%%%%%%%
num1=[1 0 0 0 0 0 -2 0 0 0 0 0 1];
den1=[1 -2 1];
low=dfilt.df2(num1,den1);
num2=[-1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 32 -32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1];
den2=[1 -1];
high=dfilt.df2(num2,den2);
num3=[-1 -2 0 2 1]/8;
dif=dfilt.dffir(num3);
% Cascaded Low,High, and Differentiator filters
Hcas=dfilt.cascade(low,high,dif);
%%%%%%%
I need to know the order and coefficients of Hcas filter.
Thanks in advance

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 C Code Generation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by