System object: phased.PhaseCodedWaveform
Package: phased

Samples of phase-coded waveform


Y = step(H)


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


Phase-coded waveform object.

Output Arguments


Column vector containing the waveform samples.


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

hw = phased.PhaseCodedWaveform('Code','Zadoff-Chu',...
x = step(hw);
plot(real(x)); title('Waveform Output, Real Part');
xlabel('Samples'); ylabel('Amplitude (V)');

Was this topic helpful?