Main Content

info

Display information about sample rate converter

Description

example

s = info(src) displays information about the multistage SampleRateConverter System object™, src.

Examples

collapse all

Create a multistage sample rate converter with default properties, corresponding to the combined three filter stages used to convert from 192 kHz to 44.1 kHz.

src = dsp.SampleRateConverter
src = 
  dsp.SampleRateConverter with properties:

        InputSampleRate: 192000
       OutputSampleRate: 44100
    OutputRateTolerance: 0
              Bandwidth: 40000
    StopbandAttenuation: 80

Display information about the design.

info(src)
ans = 
    'Overall Interpolation Factor    : 147
     Overall Decimation Factor       : 640
     Number of Filters               : 3
     Multiplications per Input Sample: 27.667188
     Number of Coefficients          : 8631
     Filters:                         
        Filter 1:
        dsp.FIRDecimator     - Decimation Factor   : 2 
        Filter 2:
        dsp.FIRDecimator     - Decimation Factor   : 2 
        Filter 3:
        dsp.FIRRateConverter - Interpolation Factor: 147
                             - Decimation Factor   : 160 
     '

Input Arguments

collapse all

Multistage sample rate converter, specified as a dsp.SampleRateConverter System object.

Output Arguments

collapse all

Filter information, returned as a character array with the following fields.

  • Overall Interpolation Factor

  • Overall Decimation Factor

  • Number of Filters

  • Multiplications Per Input Sample

  • Number of Coefficients

  • Filters

Introduced in R2014b