Generate pulses at regular intervals.
Library
Sources
Description
The Discrete Pulse Generator block generates a series of pulses at regular intervals.
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.
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.
Characteristics
Sample Time
|
Discrete
|
Scalar Expansion
|
Of parameters
|
Vectorized
|
Yes
|
Zero Crossing
|
No
|
[ Previous | Help Desk | Next ]