User`s guide
Deconstructing Signals
3-55
in the Indexing library (in Signal Management). Any subset of rows or columns
can be selected for propagation to a given output port.
Example: Deconstructing to Independent Signals. In the model below, a six-channel
sample-based signal (3-by-2 matrix) is deconstructed to yield three
independent sample-based signals. Two of the output signals have four
channels, and the third signal has two channels.
To build the model, make the following parameter settings:
•In Signal From Workspace, set
Signal = randn(3,2,10)
•In Multiport Selector, set:
-
Select = Rows
- Indices to output = {[1 2],[1 3],3}
The Indices to output setting specifies that rows 1 and 2 of the input should
be reproduced at output 1, that rows 1 and 3 of the input should be reproduced
at output 2, and that row 3 of the input should be reproduced alone at output 3.
See “Sample-Based Multichannel Signals” on page 3-11 for more about
sample-based signals.
Deconstructing a Sample-Based Multichannel Signal
into a Related Multichannel Signal
You can select a subset of channels from a multichannel sample-based signal
by using one of the following blocks in the Indexing library (in Signal
Management):
•Selector (Simulink)
•Submatrix