Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
Nourhan
Nourhan el 23 de Abr. de 2014
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

Respuestas (0)

Categorías

Más información sobre Single-Rate Filters en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by