Y = step(H,X)
[Y,STATUS] = step(H,X)
[Y,PHNOISE] = step(H,X)
Starting in R2016b, instead of using the
Y = step(H,X) returns the transmitted signal
based on the input waveform
X where the amplification is based
on the characteristics of the transmitter, such as the peak power
and the gain.
The size of the first dimension of this input matrix can vary to simulate a changing signal length, such as a pulse waveform with variable pulse repetition frequency.
[Y,STATUS] = step(H,X) returns additional
STATUS as the on/off status of the transmitter
InUseOutputPort property is
a logical vector where
true indicates the transmitter
is on for the corresponding sample time, and
the transmitter is off.
[Y,PHNOISE] = step(H,X) returns the additional
PHNOISE as the random phase noise added
to each transmitted sample when the
false and the
PHNOISE is a vector
which has the same dimension as Y. Each element in
the random phase between 0 and 2*pi, added to the corresponding sample
Y by the transmitter.
You can combine optional output arguments when their enabling properties are set. Optional outputs must be listed in the same order as the order of the enabling properties. For example:
[Y,STATUS,PHNOISE] = step(H,X)
The object performs an initialization the first time the
Transmit a pulse containing a linear FM waveform with a bandwidth of 5 MHz. The sample rate is 10 MHz and the pulse repetition frequency is 10 kHz.
fs = 1e7; waveform = phased.LinearFMWaveform('SampleRate',fs, ... 'PulseWidth',1e-5,'SweepBandwidth',5e6); x = waveform(); transmitter = phased.Transmitter('PeakPower',5e3); y = transmitter(x);