User`s guide
3 Working with Signals
3-68
•“Constructing Multichannel Sample-Based Signals” on page 3-42
Importing a Multichannel Frame-Based Signal
The Signal From Workspace in the DSP Sources library is the key block for
importing frame-based signals from the MATLAB workspace.
The dialog box has the following parameters:
•
Signal
•Sample time
•Samples per frame
•Form output after final data value by
Use the Signal parameter to specify the name of a variable (vector or matrix)
in the MATLAB workspace. You can also enter any valid MATLAB expressions
involving workspace variables, as long as the expressions evaluate to a vector
or matrix.
The
Samples per frame parameter must be set to a value greater than 1 for
frame-based output; a value of
1 produces sample-based output. See
“Importing a Multichannel Sample-Based Signal” on page 3-62 for more
information.
The
Sample-time parameter specifies the sample period, T
s
, of the
frame-based output. The frame period of the signal is M
∗T
s
, where M is the
value of the
Samples per frame parameter. See “Frame-Based Multichannel
Signals” on page 3-12 for general information about frame-based signals.
The following section explains how the Signal From Workspace generates its
frame-based output.
Importing a Frame-Based Signal with
the Signal From Workspace Block
The Signal From Workspace block generates a frame-based multichannel
signal when the variable (or expression) in the
Signal parameter is a matrix,
and the
Samples per frame parameter specifies a value M greater than 1.