Display information about sample rate converter
s = info(src)
example
s = info(src) displays information about the multistage SampleRateConverter System object™, src.
s
src
SampleRateConverter
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 '
dsp.SampleRateConverter
Multistage sample rate converter, specified as a dsp.SampleRateConverter System object.
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
cost
freqz
getActualOutputRate
getFilters
getRateChangeFactors
visualizeFilterStages
You have a modified version of this example. Do you want to open this example with your edits?