How to know the order and coefficients of a new cascaded filter?
2 ビュー (過去 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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で C Code Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!