User`s guide

3 Working with Signals
3-42
Constructing Signals
When you want to perform a given sequence of operations on several
independent signals, it is frequently very convenient to group those signals
together as a multichannel signal. Most DSP blocks accept multichannel
signals, and process each channel independently. By taking advantage of this
capability, you can do the same job with fewer blocks and have a cleaner, leaner
model.
For example, if you need to filter each of four independent signals using a
direct-form II transpose filter with the same coefficients, combine the signals
into a multichannel signal, and run that multichannel signal into a
Direct-Form II Transpose Filter block. The block will apply the filter to each
channel independently.
The following sections explain how to construct multichannel signals from
existing independent signals:
“Constructing Multichannel Sample-Based Signals” on page 3-42
“Constructing Multichannel Frame-Based Signals” on page 3-45
For information about creating multichannel signals using source blocks, see
the following sections:
“Creating Signals Using Constant Blocks” on page 3-33
“Creating Signals Using Signal Generator Blocks” on page 3-36
“Creating Signals Using the Signal From Workspace Block” on page 3-38
Constructing Multichannel Sample-Based Signals
A sample-based signal with MN channels is represented by a sequence of
M-by-N matrices. (The special case of M = N = 1 represents a single-channel
signal.) Multiple individual signals can be combined into a multichannel
matrix signal using the Matrix Concatenation block. Individual signals can be
added to an existing multichannel signal in the same way. The following
sections explain how to do this:
“Constructing Sample-Based Multichannel Signals from Independent
Sample-Based Signals” on page 3-43
“Constructing Sample-Based Multichannel Signals from Existing
Sample-Based Multichannel Signals” on page 3-44