Repeat Signal In Multirate Frame-Based Processing Mode
In this example, the Repeat block increases the sample rate by increasing the frame rate.
Open the model. The input to the Repeat block is a single-channel signal with a frame period of one second. In the block dialog box, set Repetition count to 4 and Rate options to
Allow multirate processing.
Run the model. The block operates in the multirate frame-based processing mode. With a repetition count of 4, the block repeats input values to upsample the input by a factor of 4. The output of the Repeat block has a frame period of 0.25 seconds. As the block operates in the multirate frame-based processing mode, the input and output signals of the Repeat block have the same frame size.
Repeat | Signal From Workspace | To Workspace (Simulink)