getRateChangeFactors
Get overall interpolation and decimation factors
Description
[
returns the overall interpolation factor, L
,M
] =
getRateChangeFactors(rateConverter
)L
, and the overall
decimation factor, M
, corresponding to the
rateConverter
. The rate converter object can be a dsp.FarrowRateConverter
System object™ or a dsp.SampleRateConverter
System object. The rate change factors computed take into account the
OutputRateTolerance
property.
In the case of dsp.SampleRateConverter
, the overall decimation
factor affects the allowable frame size of the input to the object. The row length
of the input vector or matrix to the dsp.SampleRateConverter
object
must be an integer multiple of M
.
This function supports C and C++ code generation.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2014b