User`s guide
3 Working with Signals
3-36
block is selected. This means that the output is not a matrix. However, most
nonsource DSP blocks interpret a length-M 1-D vector as an M-by-1 matrix
(column vector).
Note A 1-D vector signal must always be sample-based. The Interpret
vector parameters as 1-D
parameter is ignored when Frame-based output
is selected, or when a matrix is specified for the Constant value parameter.
See “Multichannel Signals” on page 3-11 for more information about the
representation of sample-based and frame-based data.
Creating Signals Using Signal Generator Blocks
The DSP Sources library provides the following blocks for automatically
generating common sample-based and frame-based signals:
•Chirp
•Counter
•Discrete Impulse
•Multiphase Clock
•N-Sample Enable
•Sine Wave
One of the most commonly used of these is the Sine Wave block, which is
discussed further in the example below. See Chapter 5, “DSP Block Reference,”
for a complete explanation of the other signal generation blocks. The Simulink
Sources library offers a collection of continuous-time signal generation blocks
that you may also find useful. Consult the Simulink documentation for more
information.
For more information about creating signals, see the following sections:
•“Creating Signals Using Constant Blocks” on page 3-33
•“Creating Signals Using the Signal From Workspace Block” on page 3-38
Example: Creating Signals with the Sine Wave Block
The Sine Wave block dialog box contains the following key parameters.