This is machine translation

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

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


Information about digital filter


s = info(d)



s = info(d) returns a character array with information about the digital filter, d.


collapse all

Design a lowpass FIR filter with normalized passband frequency rad/sample and normalized stopband frequency rad/sample. Obtain information about the filter just designed.

d = designfilt('lowpassfir','PassbandFrequency',0.4,'StopbandFrequency',0.45);
s = info(d)
s = 17x44 char array
    'FIR Digital Filter (real)                   '
    '-------------------------                   '
    'Filter Length  : 81                         '
    'Stable         : Yes                        '
    'Linear Phase   : Yes (Type 1)               '
    '                                            '
    'Design Method Information                   '
    'Design Algorithm : Equiripple               '
    '                                            '
    'Design Specifications                       '
    'Sample Rate     : N/A (normalized frequency)'
    'Response        : Lowpass                   '
    'Specification   : Fp,Fst,Ap,Ast             '
    'Passband Edge   : 0.4                       '
    'Stopband Atten. : 60 dB                     '
    'Passband Ripple : 1 dB                      '
    'Stopband Edge   : 0.45                      '

Input Arguments

collapse all

Digital filter, specified as a digitalFilter object. Use designfilt to generate a digital filter based on frequency-response specifications.

Example: d = designfilt('lowpassiir','FilterOrder',3,'HalfPowerFrequency',0.5) specifies a third-order Butterworth filter with normalized 3-dB frequency 0.5π rad/sample.

Output Arguments

collapse all

Information table, returned as a character array.

Introduced in R2014a

Was this topic helpful?