step

System object: phased.PhaseCodedWaveform
Package: phased

Samples of phase-coded waveform

Syntax

Y = step(H)

Description

Y = step(H) returns samples of the phase-coded 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.

Input Arguments

H

Phase-coded waveform object.

Output Arguments

Y

Column vector containing the waveform samples.

Examples

Generate samples of two pulses of a phase-coded pulse waveform that uses the Zadoff-Chu code.

hw = phased.PhaseCodedWaveform('Code','Zadoff-Chu',...
    'ChipWidth',1e-6,'NumChips',16,...
    'OutputFormat','Pulses','NumPulses',2);
x = step(hw);
figure;
plot(real(x)); title('Waveform Output, Real Part');
xlabel('Samples'); ylabel('Amplitude (V)');

Was this topic helpful?