DSP Blockset | ![]() ![]() |
Concatenating Independent Frame-Based Signals
into Multichannel Signals
You can combine existing frame-based signals into a larger multichannel signal by using the Matrix Concatenation block in the Simulink Sources library. All signals must have the same frame rate and frame size.
Example: Concatenating Frame-Based Signals. In the model below, a single-channel frame-based signal is combined with a two-channel frame-based signal to produce a three-channel frame-based signal.
To build the model, make the following parameter settings:
[1:10;-1:-1:-10]'
5*ones(10,1)
The 4-by-3 matrix output from the Matrix Concatenation block contains all three input channels, and preserves their common frame rate and frame size. See Frame-Based Multichannel Signals for more about frame-based signals.
Note that you could also create or import the three-channel signal using just one Signal From Workspace block. See the following sections for more information:
![]() | Constructing Multichannel Frame-Based Signals | Buffering Sample-Based and Frame-Based Signals | ![]() |