User`s guide
3 Working with Signals
3-54
Deconstructing Signals
Multichannel signals, represented by matrices in Simulink, are frequently
used in DSP models for efficiency and compactness. An M-by-N sample-based
multichannel signal represents M*N independent signals (one sample from
each), whereas an M-by-N frame-based multichannel signal represents N
independent channels (M consecutive samples from each). See “Multichannel
Signals” on page 3-11 for more information about the matrix format.
Even though most of the DSP blocks can process multichannel signals, you may
sometimes need to access just one channel or a particular range of samples in
a multichannel signal. There are a variety of ways to deconstruct multichannel
signals, the most common of which are explained in the following sections:
•“Deconstructing Multichannel Sample-Based Signals” on page 3-54
•“Deconstructing Multichannel Frame-Based Signals” on page 3-57
For information about constructing multichannel signals from individual
sample-based or frame-based signals, see the following sections:
•“Constructing Multichannel Sample-Based Signals” on page 3-42
•“Constructing Multichannel Frame-Based Signals” on page 3-45
Deconstructing Multichannel Sample-Based Signals
A sample-based signal with M∗N channels is represented by a sequence of
M-by-N matrices. (The special case of M = N = 1 represents a single-channel
signal.) You can access individual channels of the multichannel signal by using
the blocks in the Indexing library (in Signal Management). The following
sections explain how to do this:
•“Deconstructing a Sample-Based Multichannel Signal into Multiple
Independent Signals” on page 3-54
•“Deconstructing a Sample-Based Multichannel Signal into a Related
Multichannel Signal” on page 3-55
Deconstructing a Sample-Based Multichannel Signal
into Multiple Independent Signals
You can split a multichannel sample-based signal into individual sample-based
signals (single-channel or multichannel) by using the Multiport Selector block