System object: phased.FMCWWaveform
Samples of FMCW waveform
Y = step(H)
Starting in R2016b, instead of using the
to perform the operation defined by the System
object™, you can
call the object with arguments, as if it were a function. For example,
= step(obj,x) and
y = obj(x) perform
equivalent operations. When the only argument to the
is the System
object itself, replace
y = step(obj) by
The object performs an initialization the first time the object is executed. This
initialization locks nontunable properties (MATLAB)
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
release method to unlock the object.
FMCW waveform object.
Column vector containing the waveform samples.
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,... 'SampleRate',20.0e6,'SweepDirection','Triangle',... 'NumSweeps',2); sig = step(sFMCW); windowlength = 32; noverlap = 16; nfft = 32; spectrogram(sig,windowlength,noverlap,nfft,sFMCW.SampleRate,'yaxis')