MT Resample (Complex Cluster)
- Updated2023-02-17
- 4 minute(s) read
MT Resample (Complex Cluster)
Returns a complex-valued waveform and resamples and/or realigns the waveform based on the input parameters that you specify.
Inputs/Outputs

input complex waveform
The complex baseband waveform data.

t0
The trigger (start) time of the Y array.
Default value: 0.0

dt
Time interval between data points in the Y array.
Default value: 1.0

Y
The complex-valued time-domain data array. The real and imaginary parts of this complex data array correspond to the in-phase (I) and quadrature-phase (Q) data, respectively.

desired sample rate
The desired sample rate of the output complex waveform data, in hertz (Hz). This value can be an integer or a non-integer multiple of the input data sample rate.
Default value: 1.00

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

initial sample offset
The initial sample offset, in seconds. This positive value specifies the location in time of the first output point relative to the first input point.
Default value: 0.00

reset?
A Boolean that determines whether the node continues to resample using the previous iteration states.
| TRUE | The node resets the previous iteration states and restarts fractional resampling. |
| FALSE | The node continues to resample using the previous iteration states. |
Default value: TRUE

flush buffers?
A Boolean that determines whether the node forces out samples that are delayed because of the FIR filters used in the resampling algorithm. Set this parameter to TRUE during single-shot operations or during the last iteration of continuous operations.
| TRUE | The node forces out samples that are delayed because of the FIR filters used in the resampling algorithm. The node destroys the internal states of the algorithms and you cannot perform continuous processing on the signal during subsequent iterations. If you set the flush buffers? parameter to TRUE, you must set the reset? parameter to TRUE on the subsequent iteration. |
| FALSE | The node does not force out samples that are delayed because of the FIR filters used in the resampling algorithm. |
Default value: FALSE

output complex waveform
The resampled complex baseband waveform data.

t0
The trigger (start) time of the first value in the Y array.
Default value: 0.0

dt
Time interval between data points in the Y array.
Default value: 1.0

Y
The complex-valued time-domain data array. The real and imaginary parts of this complex data array correspond to the in-phase (I) and quadrature-phase (Q) data, respectively.

error out
Error information.
The node produces this output according to standard error behavior.
Waveform Realignment
To realign the input waveform in time, specify a non-zero value to the initial sample offset parameter. Positive offset values push the output complex waveform forward relative to the input complex waveform. Negative offset values are invalid.
Waveform Resampling
To resample a waveform, specify a desired sample rate that differs from the existing sample rate of the input complex waveform. To realign a waveform without changing its sample rate, specify a value for the desired sample rate parameter equal to the existing sample rate. To resample a waveform without changing the relative timing offset between the input and output complex waveforms, set the initial sample offset parameter to 0.
Waveform Downsampling
To downsample a waveform, ensure that the input signal is strictly bandlimited and follows the Nyquist criterion for the final sample rate. You can ensure this by low-pass filtering the input signal.