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

조회 수: 2 (최근 30일)
Nourhan
Nourhan 2014년 4월 23일
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에서 Signal Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by