System object: phased.Transmitter
Y = step(H,X)
[Y,STATUS] = step(H,X)
[Y,PHNOISE] = step(H,X)
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
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 the input matrix can vary to simulate a changing signal length. A size change can occur, for example, in the case of 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 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
release method to unlock the object.
Transmit LFM Pulse
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);