Main Content

Repeat Signal in Single-Rate Frame-Based Processing Mode

In this example, the Repeat block increases the sample rate by increasing the frame size of the signal.

Open the model. The input to the Repeat block is a single-channel signal with a frame size of 16. In the dialog box of the Repeat block, the Repetition count 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 a repetition count value of 4 from the input port.

Run the model. The block operates in the single-rate processing mode. With a repetition count of 4, the block repeats the input values to upsample the input by a factor of 4. The output of the Repeat block has a frame size of 64, which is four times the input frame size. As the block operates in the single-rate processing mode, the input and output signals of the Repeat block have the same frame rate.

See Also

| | (Simulink)

Related Topics