Y = step(H,X)
[Y,STATUS] = step(H,X)
[Y,PHNOISE] = step(H,X)
Y = step(H,X) returns the transmitted signal Y, based on the input waveform X. Y is the amplified X where the amplification is based on the characteristics of the transmitter, such as the peak power and the gain.
[Y,STATUS] = step(H,X) returns additional output STATUS as the on/off status of the transmitter when the InUseOutputPort property is true. STATUS is a logical vector where true indicates the transmitter is on for the corresponding sample time, and false indicates the transmitter is off.
[Y,PHNOISE] = step(H,X) returns the additional output PHNOISE as the random phase noise added to each transmitted sample when the CoherentOnTransmit property is false and the PhaseNoiseOutputPort property is true. PHNOISE is a vector which has the same dimension as Y. Each element in PHNOISE contains the random phase between 0 and 2*pi, added to the corresponding sample in 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)
Note: 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.
Transmit a pulse containing a linear FM waveform. The sample rate is 10 MHz and the pulse repetition frequency is 50 kHz. The transmitter peak power is 5 kw.
fs = 1e7; hwav = phased.LinearFMWaveform('SampleRate',fs,... 'PulseWidth',1e-5,'SweepBandwidth',5e6); x = step(hwav); htx = phased.Transmitter('PeakPower',5e3); y = step(htx,x);