Using Simulink    
Discrete Pulse Generator

Generate pulses at regular intervals.

Library

Sources

Description

The Discrete Pulse Generator block generates a series of pulses at regular intervals.

You can specify the following pulse parameters. The Pulse width is the number of sample periods the pulse is high. The Period is the number of sample periods the pulse is high and low. The Phase delay is the number of sample periods before the pulse starts. The phase delay can be positive or negative but must not be larger than the period. The Sample time must be greater than zero. All the parameters must have the same dimensions after scalar expansion of any scalar parameters.

Use the Discrete Pulse Generator block for discrete or hybrid systems. To generate continuous signals, use the Pulse Generator block (see Pulse Generator).

Data Type Support

A Discrete Pulse Generator block accepts and outputs a real signal of type double.

Parameters and Dialog Box

Amplitude
The amplitude of the pulse. The default is 1.
Period
The pulse period in number of samples. The default is 2.
Pulse width
The number of sample periods that the pulse is high. The default is 1.
Phase delay
The delay before each pulse is generated, in number of samples. The default is 0.
Sample time
The sample period. The default is 1.
Interpret vector parameters as 1-D
If selected, column or row matrix values for the pulse generation parameters result in a vector output signal.

Characteristics

Sample Time
Discrete
Scalar Expansion
Of parameters
Dimensionalized
Yes
Zero Crossing
No


 Discrete Filter Discrete State-Space