Y = step(H,X)
Y = step(H,X,EN_RX)
Y = step(H,X,PHNOISE)
Y = step(H,X,EN_RX,PHNOISE)
Starting in R2016b, instead of using the
Y = step(
PHNOISE as the phase noise for each sample
X when the
true. The phase noise is the same for all
X. The elements in
the random phases the transmitter adds to the transmitted pulses.
The receiver preamp object removes these random phases from all received
samples returned within corresponding pulse intervals. Such setup
is often referred to as coherent on receive.
The object performs an initialization the first time the
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.
Enabling signal, specified as a column vector whose length equals
the number of rows in
Phase noise for each sample in
This example shows how to construct a Receiver Preamp System object with a noise figure of 5 dB and a bandwidth of 1 MHz and then use its
step method to amplify a sine wave.
Construct the Receiver Preamp system object.
hrx = phased.ReceiverPreamp('NoiseFigure',5,'SampleRate',1e6);
Create the signal.
Fs = 1e3; t = linspace(0,1,1e3); x = cos(2*pi*200*t)';
step method to amplify the signal and then plot the first 100 samples.
y = step(hrx,x); idx = [1:100]; plot(t(idx),x(idx),t(idx),real(y(idx))) xlabel('Time (s)') ylabel('Amplitude') legend('Original signal','Received signal')