Elliptic filter using specification object
ellipFilter = design(d,'ellip','SystemObject',true)
ellipFilter = design(d,'ellip',designoption,value,designoption,...
value,...,'SystemObject',true)
ellipFilter = design(d,'ellip','SystemObject',true)
designs
an elliptical IIR digital filter using the specifications supplied
in the object d
.
ellipFilter = design(d,'ellip',designoption,value,designoption,...
returns an elliptical
or Cauer FIR filter where you specify design options as input arguments.
value,...,'SystemObject',true)
To determine the available design options, use designopts
with the specification object
and the design method as input arguments as shown.
designopts(d,'method')
For complete help about using ellip
, refer
to the command line help system. For example, to get specific information
about using ellip
with d
, the
specification object, enter the following at the MATLAB prompt.
help(d,'ellip')
These examples demonstrate how to use ellip
to
design filters based on filter specification objects.
Construct the default bandpass filter specification object and design an elliptic filter.
d = fdesign.bandpass; bandpass = design(d,'ellip','matchexactly','both','SystemObject',true); fvtool(bandpass);
Construct a lowpass object with order, passband-edge frequency, stopband-edge frequency, and passband ripple specifications, and then design an elliptic filter.
d = fdesign.lowpass('n,fp,fst,ap',6,20,25,.8,80); design(d,'ellip','SystemObject',true); % Starts fvtool to display the filter.
Construct a lowpass object with filter order, passband edge frequency, passband ripple, and stopband attenuation specifications, and then design an elliptic filter.
d = fdesign.lowpass('n,fp,ap,ast',6,20,.8,60,80); design(d,'ellip','SystemObject',true); % Starts fvtool to display the filter.