Sample-Rate Match
Libraries:
Communications Toolbox /
RF Impairments and Components
Description
The Sample-Rate Match block upsamples the input signals, as needed, to a common output sample
rate. This block introduces delays to your simulation. Use the srmdelay
function
to compute the delay that will be introduced.
Examples
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Algorithms
This figure illustrates the algorithm processing of input signal data for the sample rate match.
The input signals are first buffered to a common length specified by the Output samples per
frame
parameter. The buffered signals are interpolated to match their sample
rates to the output sample rate. The two interpolated signals are then concatenated to produce
the matrix output. The interpolation and decimation factors of the interpolation operation are
computed as [L,M] = rat
(RO/RI, 0), where:
RO is the output sample rate, which is either automatically computed or specified in Output sample rate (Hz).
RI is the input sample rate specified in Input sample rate (Hz).
L is the interpolation factor.
M is the decimation factor.
Extended Capabilities
Version History
Introduced in R2022b