step

System object: phased.RectangularWaveform
Package: phased

Samples of rectangular pulse waveform

Syntax

Y = step(H)

Description

Y = step(H) returns samples of the rectangular pulse in a column vector Y.

    Note:   H specifies the System object™ on which to run this step method.

    The object performs an initialization the first time the step method is executed. This initialization locks nontunable properties and input specifications, such as dimensions, complexity, and data type of the input data. If you change a nontunable property or an input specification, the System object issues an error. To change nontunable properties or inputs, you must first call the release method to unlock the object.

Examples

Construct a rectangular pulse 10 microseconds in duration with pulse repetition interval of 100 microseconds.

 hw = phased.RectangularWaveform('PulseWidth',1e-5,...
            'OutputFormat','Pulses','NumPulses',1,...
            'SampleRate',1e6,'PRF',1e4);
 wav = step(hw);
Was this topic helpful?