Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

mfilt.cascade

Cascade filter objects

mfilt.cascade will be removed in a future release. Use dsp.FilterCascade instead.

Syntax

hm = cascade(hm1,hm2,...,hmn)

Description

hm = cascade(hm1,hm2,...,hmn) creates filter object hm by cascading (connecting in series) the individual filter objects hm1, hm2, and so on to hmn.

In block diagram form, the cascade looks like this, with x as the input to the filter hm and y the output from the cascade filter hm:

mfilt.cascade accepts any combination of mfilt and dfilt objects (discrete time filters) to cascade, as well as Farrow filter objects.

Examples

Create a variety of mfilt objects and cascade them together.

hm(1) = mfilt.firdecim(12);
hm(2) = mfilt.firdecim(4);
h1 = mfilt.cascade(hm(1),hm(2));
hm(3) = mfilt.firinterp(4);
hm(4) = mfilt.firinterp(12);
h2 = mfilt.cascade(hm(3),hm(4));
% Cascade h1 and h2 together
h3 = mfilt.cascade(h1,h2,9600);

Introduced in R2011a

Was this topic helpful?