Main Content

Upsample Signal in Single-Rate Frame-Based Processing Mode

In this example, the Upsample block increases the sample rate by increasing the frame size.

Open the model. The Upsample block resamples a single-channel input with a frame size of 16. In the dialog box of the Upsample block, the Upsample factor source parameter is set to Input port. The Input processing and Rate options parameters are automatically set to Columns as Channels (frame based) and Enforce single-rate processing, respectively. Specify an upsample factor of 4 from the input port.

Run the model. The block operates in the single-rate processing mode and upsamples the input by a factor of 4. The output of the block has a frame size of 64. As the block operates in the single-rate processing mode, the input and output signals of the Upsample block have the same frame rate.

See Also


Related Topics