How to know the order and coefficients of a new cascaded filter?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su C Code Generation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!