User`s guide
3 Working with Signals
3-56
•Variable Selector
The next section provides an example of using the Submatrix block to extract
a portion of a multichannel sample-based signal. The Submatrix block is the
most versatile of the above blocks in that it allows you to make completely
arbitrary channel selections.
Example: Deconstructing to a Multichannel Signal. In the model below, a 35-channel
sample-based signal (5-by-7 matrix) is deconstructed to yield a sample-based
signal containing only six of the original channels.
To build the model, make the following parameter settings:
•In DSP Constant, set
Constant value = rand(5,7)
•In Submatrix, set:
-
Row span = Range of rows
- Starting row = Index
- Starting row index = 3
- Ending row = Last
- Column span = Range of columns
- Starting column = Offset from last
- Starting column index = 1
- Ending column = Last
See “Sample-Based Multichannel Signals” on page 3-11 for more about
sample-based signals.