DSP Blockset    

Creating Signals Using Constant Blocks

A constant signal is a sample-based signal in which successive samples are identical, or a frame-based signal in which successive frames are identical. The DSP Sources library provides the following blocks for creating sample-based and frame-based constant signals:

Although some of these blocks generate continuous-time outputs and some generate discrete-time outputs, in each case the output of the block remains constant throughout the simulation.

The most versatile of these blocks is the DSP Constant, which is discussed further in the following example. See Chapter 5, "DSP Block Reference," for complete explanation of all the constant blocks.

For information about creating signals with other types of blocks, see the following sections:

For information about importing signals, see the following sections:


  Creating Signals Example: Creating Signals with the DSP Constant Block