Signal Processing Toolbox | ![]() ![]() |
Frequency Specifications Region
The Frequency Specifications region allows you to enter frequency parameters for the filter design. The options available vary with the selections in the Filter Type and Design Method regions.
Filter Type |
IIR |
FIR |
Lowpass |
Butterworth, Chebyshev Type I, Chebyshev Type II, Elliptic, Maximally Flat, Least Pth-norm*, Constrained Least Pth-norm* |
Equiripple, Least-squares, Window, Maximally Flat, Least Pth-norm*, Constrained Equiripple* |
Highpass |
Butterworth, Chebyshev Type I, Chebyshev Type II, Elliptic, Maximally Flat, Least Pth-norm*, Constrained Least Pth-norm* |
Equiripple, Least-squares, Window, Maximally Flat, Least Pth-norm*, Constrained Equiripple* |
Bandpass |
Butterworth, Chebyshev Type I, Chebyshev Type II, Elliptic, Least Pth-norm*, Constrained Least Pth-norm* |
Equiripple, Least-squares, Window, Least Pth-norm* |
Bandstop |
Butterworth, Chebyshev Type I, Chebyshev Type II, Elliptic, Least Pth-norm*, Constrained Least Pth-norm* |
Equiripple, Least-squares, Window, Least Pth-norm* |
Other Filter Types (in the pull-down menu) are Differentiator, Hilbert Transformer, Multiband, Arbitrary Magnitude, Raised-Cosine, Arbitrary Group Delay*, Halfband Lowpass*, Halfband Highpass*, and Nyquist*.
*available only with the Filter Design Toolbox
Frequency Specifications Region: Lowpass
IIR |
FIR |
Butterworth |
Equiripple |
Chebyshev Type I |
Least-squares |
Chebyshev Type II |
Window |
Elliptic |
Maximally Flat |
Maximally flat |
Least Pth-Norm (available only with Filter Design Toolbox) |
Least Pth-Norm (available only with Filter Design Toolbox) |
Constrained equiripple (available only with Filter Design Toolbox) |
Constrained Least Pth-norm (available only with Filter Design Toolbox) |
IIR Butterworth. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Chebyshev Type I. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Orderregion, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Chebyshev Type II. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Elliptic. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Maximally Flat. Select the units for frequency specifications from the Units list:
Specify the sampling and cutoff frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Least Pth-Norm. Note that this design method is available only if you have the Filter Design Toolbox installed. See iirlpnorm
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling, stopband, and passband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Constrained Least Pth-Norm. Note that this design method is available only if you have the Filter Design Toolbox installed. See iirlpnormc
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling, stopband, and passband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Equiripple. Select the units for frequency specifications from the Units list:
Specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Least Squares. Select the units for frequency specifications from the Units list:
Specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Window. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Maximally Flat. Select the units for frequency specifications from the Units list:
Specify the sampling and cutoff frequencies:
FIR Least Pth-Norm . Note that this design method is available only if you have the Filter Design Toolbox installed. See firlpnorm
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling, stopband, and passband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Constrained Equiripple. Note that this design method is available only if you have the Filter Design Toolbox installed. See firceqrip
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling and cutoff, passband or stopband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
cutoff
, passband edge
, or stopband edge
Frequency Specifications Region: Highpass
IIR |
FIR |
Butterworth |
FIR Equiripple |
Chebyshev Type I |
FIR Least Squares |
Chebyshev Type II |
FIR Window |
Elliptic |
FIR Least Pth-Norm (available only with Filter Design Toolbox) |
Least Pth-norm (available only with Filter Design Toolbox) |
FIR Constrained equiripple (available only with Filter Design Toolbox) |
Constrained Least Pth-norm (available only with Filter Design Toolbox) |
IIR Butterworth. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Chebyshev Type I. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Chebyshev Type II. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Elliptic. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Orderregion, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Orderregion, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Least Pth-Norm. Note that this design method is available only if you have the Filter Design Toolbox installed. See iirlpnorm
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling, stopband, and passband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Constrained Least Pth-Norm. Note that this design method is available only if you have the Filter Design Toolbox installed. See iirlpnormc
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling, stopband, and passband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Equiripple. Select the units for frequency specifications from the Units list:
Specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Least Squares. Select the units for frequency specifications from the Units list:
Specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Window. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Orderregion, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Least Pth-Norm . Note that this design method is available only if you have the Filter Design Toolbox installed. See firlpnorm
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling, stopband, and passband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Constrained Equiripple. Note that this design method is available only if you have the Filter Design Toolbox installed. See firceqrip
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling and cutoff, passband or stopband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
cutoff
, passband edge
, or stopband edge
Frequency Specifications Region: Bandpass
IIR |
FIR |
Butterworth |
Equiripple |
Chebyshev Type I |
Least Squares |
Chebyshev Type II |
Window |
Elliptic |
Least Pth-Norm (available only with Filter Design Toolbox) |
Least Pth-Norm (available only with Filter Design Toolbox) |
|
Constrained Least Pth-Norm (available only with Filter Design Toolbox) |
IIR Butterworth. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Chebyshev Type I. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Chebyshev Type II. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Elliptic. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Least Pth-Norm. Note that this design method is available only if you have the Filter Design Toolbox installed. See iirlpnorm
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling, stopband, and passband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Constrained Least Pth-Norm. Note that this design method is available only if you have the Filter Design Toolbox installed. See iirlpnormc
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling, stopband, and passband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Equiripple. Select the units for frequency specifications from the Units list:
Specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Least Squares. Select the units for frequency specifications from the Units list:
Specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Window. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Least Pth-Norm . Note that this design method is available only if you have the Filter Design Toolbox installed. See firlpnorm
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling, stopband, and passband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
Frequency Specifications Region: Bandstop
IIR |
FIR |
Butterworth |
FIR Equiripple |
Chebyshev Type I |
FIR Least Squares |
Chebyshev Type II |
FIR Window |
Elliptic |
FIR Least Pth-Norm (available only with Filter Design Toolbox) |
Least Pth-Norm (available only with Filter Design Toolbox) |
|
Constrained Least Pth-Norm (available only with Filter Design Toolbox) |
IIR Butterworth. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Chebyshev Type I. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Chebyshev Type II. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Elliptic. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Least Pth-Norm. Note that this design method is available only if you have the Filter Design Toolbox installed. See iirlpnorm
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling, stopband, and passband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
IIR Constrained Least Pth-Norm. Note that this design method is available only if you have the Filter Design Toolbox installed. See iirlpnormc
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling, stopband, and passband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Equiripple. Select the units for frequency specifications from the Units list:
Specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Least Squares. Select the units for frequency specifications from the Units list:
Specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Window. Select the units for frequency specifications from the Units list:
If Specify order is selected in the Filter Order region, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
If Minimum order is selected in the Filter Orderregion, specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
FIR Least Pth-Norm . Note that this design method is available only if you have the Filter Design Toolbox installed. See firlpnorm
for more information.
Select the units for frequency specifications from the Units list:
Specify the sampling, stopband, and passband frequencies:
Hz
, kHz
, MHz
, or GHz
is selected
Frequency and Magnitude Specifications Regions: Other Filters
Other Filters (available from the Filter Type pull-down menu) |
Differentiator |
Hilbert Transformer |
Multiband |
Arbitrary Magnitude |
Raised-Cosine |
Arbitrary Group Delay (available only with Filter Design Toolbox) |
Halfband Lowpass (available only with Filter Design Toolbox) |
Halfband Highpass (available only with Filter Design Toolbox) |
Nyquist (available only with Filter Design Toolbox) |
Differentiator. Select the units for frequency specifications from the Frequency units list:
For all units except Normalized, specify the Fs (sampling frequency.
Specify the following parameters in the text boxes:
Each odd-indexed frequency-amplitude pair defines the left endpoint of a line segment representing the desired magnitude response in that frequency band. The corresponding even-indexed frequency-amplitude pair defines the right endpoint. Between the frequency bands specified by these end-points, there may be undefined sections of the specified frequency response. These are called "don't care" or "transition" regions, and the magnitude response in these areas is a by-product of the optimization in the other (specified) frequency ranges.
The Weight vector specifies the emphasis to be placed on minimizing the error in certain frequency bands relative to others, one weight per band. In most cases, differentiators have only a single band, so the weight is a scalar value that does not affect the final filter.
See Multiband FIR Filter Design with Transition Bands and remez
for more information.
Hilbert Transformer. Select the units for frequency specifications from the Frequency units list:
For all units except Normalized, specify the sampling frequency, Fs.
Specify the following parameters in the text boxes:
Each odd-indexed frequency-amplitude pair defines the left endpoint of a line segment representing the desired magnitude response in that frequency band. The corresponding even-indexed frequency-amplitude pair defines the right endpoint. Between the frequency bands specified by these end-points, there may be undefined sections of the specified frequency response. These are called "don't care" or "transition" regions, and the magnitude response in these areas is a by-product of the optimization in the other (specified) frequency ranges.
The Weight vector specifies the emphasis to be placed on minimizing the error in certain frequency bands relative to others, one weight per band. In most cases, Hilbert transformers have only a single band, so the weight is a scalar value that does not affect the final filter. However, the Weight vector is useful when designing an antisymmetric multiband filter, such as a Hilbert transformer with stopbands.
See Multiband FIR Filter Design with Transition Bands and remez
for more information.
Multiband. Select the units for frequency specifications from the Frequency units list:
For all units except Normalized, specify Fs (sampling frequency).
Specify the following parameters in the text boxes:
Each frequency-magnitude pair specifies the junction of two adjacent frequency bands. See Multiband FIR Filter Design with Transition Bands and remez
for more information.
Arbitrary Magnitude. Select the units for frequency specifications from the Frequency units list:
For all units except Normalized, specify Fs (sampling frequency).
Specify the following parameters in the text boxes:
Each frequency-magnitude pair specifies the junction of two adjacent frequency bands. See remez
for more information.
Raised-Cosine. Select the units for frequency specifications from the Frequency units list:
Specify the following frequencies in the text boxes:
Select Normal or Square Root for the magnitude.
Arbitrary Group Delay. Select the units for frequency specifications from the Frequency units list:
For all units except Normalized, specify Fs (sampling frequency).
Specify the following parameters in the text boxes:
The Arbitrary Group Delay filter type is available only when the Filter Design Toolbox is installed. See iirgrpdelay
in the Filter Design Toolbox documentation for more information.
Halfband Lowpass. Note that this design method is available only if you have the Filter Design Toolbox installed.
Select the units for frequency specifications from the Frequency units list:
Specify Fs, the sampling frequency, when Hz
, kHz
, MHz
, or GHz
units are selected. For FIR Window design method, Fc, the cutoff frequency, is set to Fs/4. The attenuation at the cutoff is fixed at 6 dB below the passband gain.
For FIR Equiripple design method, specify Fpass, the beginning of the passband. The attenuation at the cutoff is fixed at 6 dB below the passband gain.
Halfband Highpass. Note that this design method is available only if you have the Filter Design Toolbox installed.
Select the units for frequency specifications from the Frequency units list:
Specify Fs, the sampling frequency, when Hz
, kHz
, MHz
, or GHz
units are selected. For FIR Window design method, Fc, the cutoff frequency, is set to Fs/4. The attenuation at the cutoff is fixed at 6 dB below the passband gain.
For FIR Equiripple design method, specify Fpass, the beginning of the passband. The attenuation at the cutoff is fixed at 6 dB below the passband gain.
Nyquist. Note that this design method is available only if you have the Filter Design Toolbox installed.
Select the units for frequency specifications from the Frequency units list:
Specify the following frequencies in the text boxes:
Hz
, kHz
, MHz
, or GHz
is selected
Select one of the following to define the transition zone:
![]() | Options Region | Magnitude Specifications Region | ![]() |