Main Content


System object: phased.FMCWWaveform
Namespace: phased

Samples of FMCW waveform


Y = step(H)



Starting in R2016b, instead of using the step method to perform the operation defined by the System object™, you can call the object with arguments, as if it were a function. For example, y = step(obj,x) and y = obj(x) perform equivalent operations. When the only argument to the step method is the System object itself, replace y = step(obj) by y = obj().

Y = step(H) returns samples of the FMCW waveform in a column vector, Y.


The object performs an initialization the first time the object 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


FMCW waveform object.

Output Arguments


Column vector containing the waveform samples.

If H.OutputFormat is 'Samples', Y consists of H.NumSamples samples.

If H.OutputFormat is 'Sweeps', Y consists of H.NumSweeps sweeps. Also, if H.SweepDirection is 'Triangle', each sweep is half a period.


expand all

Generate samples of a triangle sweep FMCW Waveform. Then, plot the spectrogram of the sweep. The sweep has a 10 MHz bandwidth.

sFMCW = phased.FMCWWaveform('SweepBandwidth',10.0e6,...
sig = step(sFMCW);
windowlength = 32;
noverlap = 16;
nfft = 32;