Using Simulink    
Pulse Generator

Generate pulses at regular intervals.

Library

Sources

Description

The Pulse Generator block generates a series of scalar, vector, or matrix pulses at regular intervals. The block's Amplitude, Period, Duty cycle, and Start time parameters determines the characteristics of the output signal. All must have the same dimensions after scalar expansion and must be of the same data and numeric (complex or real) type.

Use the Pulse Generator block for continuous systems. To generate discrete signals, use the Discrete Pulse Generator block.

Data Type Support

A Pulse Generator block outputs real or complex signals of any data type. The data and numeric (real or complex) type of the output signal is the same as that of the Amplitude parameter.

Parameters and Dialog Box

Period
The pulse period in seconds. The default is 1 second.
Duty cycle
The duty cycle: the percentage of the pulse period that the signal is on. The default is 50 percent.
Amplitude
The pulse amplitude. The default is 1.
Start time
The delay before the pulse is generated, in seconds. The default is 0 seconds.
Interpret vector parameters as 1-D
If this option is checked and the other parameters are one-row or one-column matrices, after scalar expansion, the block outputs a 1-D signal (vector). Otherwise the output dimensionality is the same as that of the other parameters.

Characteristics

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


 Probe Quantizer