| DSP Blockset | ![]() |
Design and implement an analog filter
Library
Filtering / Filter Designs
Description
The Analog Filter Design block designs and implements a Butterworth, Chebyshev type I, Chebyshev type II, or elliptic filter in a highpass, lowpass, bandpass, or bandstop configuration.
The input must be a sample-based scalar signal.
The design and band configuration of the filter are selected from the Design method and Filter type pop-up menus in the dialog box. For each combination of design method and band configuration, an appropriate set of secondary parameters is displayed.
The table below lists the available parameters for each design/band combination. For lowpass and highpass band configurations, these parameters include the passband edge frequency
p, the stopband edge frequency
s, the passband ripple Rp, and the stopband attenuation Rs. For bandpass and bandstop configurations, the parameters include the lower and upper passband edge frequencies,
p1 and
p2, the lower and upper stopband edge frequencies,
s1 and
s2, the passband ripple Rp, and the stopband attenuation Rs. Frequency values are in rad/s, and ripple and attenuation values are in dB.
The analog filters are designed using the Signal Processing Toolbox's filter design commands buttap, cheb1ap, cheb2ap, and ellipap, and are implemented in state-space form. Filters of order 8 or less are implemented in controller canonical form for improved efficiency.
Dialog Box
The parameters displayed in the dialog box vary for different design/band combinations. Only some of the parameters listed below are visible in the dialog box at any one time.
Butterworth, Chebyshev type I, Chebyshev type II, or Elliptic. Tunable.
Lowpass, Highpass, Bandpass, or Bandstop. Tunable.
References
Antoniou, A. Digital Filters: Analysis, Design, and Applications. 2nd ed. New York, NY: McGraw-Hill, 1993.
Supported Data Types
To learn how to convert your data types to the above data types in MATLAB and Simulink, see Supported Data Types and How to Convert to Them.
See Also
| Digital Filter Design |
DSP Blockset |
buttap |
Signal Processing Toolbox |
cheb1ap |
Signal Processing Toolbox |
cheb2ap |
Signal Processing Toolbox |
ellipap |
Signal Processing Toolbox |
See the following sections for related information:
| Blocks -- Alphabetical List | Analytic Signal | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |