Introduction to Simulink with Engineering Applicatioins, Second Edition

This chapter is an introduction to the Discrete Blocks library. This is the fourth library in the Simulink group of libraries and contains the Discrete-Time Linear Systems Sub-Library, and the Sample & Hold Delays Sub-Library blocks shown below. Their functions are illustrated with examples.

The Discrete-Time Linear Systems Sub-Library contains the blocks described in Subsections 5.1.1 through 5.1.14 below.

The Unit Delay block is described in Chapter 2, Section 2.15, Chapter 2, Page 2 27.

The Integer Delay block delays its input by N sample periods. Both the input and the output can be scalar or vector.
We will create a model using an Integer Delay block with five delays (N = 5 ) where the input will be a discrete sine wave with amplitude 1, frequency 1 Hz, and sample time 0.1 s.
The model is shown in Figure 5.1 and the input and output waveforms are shown in Figure 5.2.
For the Sine Wave block, in the Block Parameters dialog box we specified:
Sine type: Time based
Sample time: 0.1
For the Integer Delay block, in the Block Parameters dialog box we specified:
Initial condition: 0.0
Number of delays: 5

The Tapped Delay block delays...