Documentation

This is machine translation

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

ellip

Elliptic filter using specification object

Syntax

```ellipFilter = design(d,'ellip','SystemObject',true) ellipFilter = design(d,'ellip',designoption,value,designoption,... value,...,'SystemObject',true) ```

Description

`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,... value,...,'SystemObject',true)``` returns an elliptical or Cauer FIR filter where you specify design options as input arguments.

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')`

Examples

These examples demonstrate how to use `ellip` to design filters based on filter specification objects.

Design a Bandpass Filter

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); ```

Design Lowpass Filter

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. ```