Quantcast

Documentation Center

  • Trial Software
  • Product Updates

step

System object: phased.ReceiverPreamp
Package: phased

Receive incoming signal

Syntax

Y = step(H,X)
Y = step(H,X,EN_RX)
Y = step(H,X,PHNOISE)
Y = step(H,X,EN_RX,PHNOISE)

Description

Y = step(H,X) applies the receiver gain and the receiver noise to the input signal, X, and returns the resulting output signal, Y.

Y = step(H,X,EN_RX) uses input EN_RX as the enabling signal when the EnableInputPort property is set to true.

Y = step(H,X,PHNOISE) uses input PHNOISE as the phase noise for each sample in X when the PhaseNoiseInputPort is set to true. The phase noise is the same for all channels in X. The elements in PHNOISE represent 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.

Y = step(H,X,EN_RX,PHNOISE) combines all input arguments. This syntax is available when you configure H so that H.EnableInputPort is true and H.PhaseNoiseInputPort is true.

    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.

Input Arguments

H

Receiver object.

X

Input signal.

EN_RX

Enabling signal, specified as a column vector whose length equals the number of rows in X. The data type of EN_RN is double or logical. Every element of EN_RX that equals 0 or false indicates that the receiver is turned off, and no input signal passes through the receiver. Every element of EN_RX that is nonzero or true indicates that the receiver is turned on, and the input passes through.

PHNOISE

Phase noise for each sample in X, specified as a column vector whose length equals the number of rows in X. You can obtain PHNOISE as an optional output argument from the step method of phased.Transmitter.

Output Arguments

Y

Output signal. Y has the same dimensions as X.

Examples

Construct a receiver preamp object with a noise figure of 5 dB and bandwidth of 1 MHz. Demonstrate the effect of the receiver on a received sinusoid.

% construct receiver preamp object
hrx = phased.ReceiverPreamp('NoiseFigure',5,'SampleRate',1e6,...
    'NoiseBandwidth',1e6);
Fs = 1e3; t = linspace(0,1,1e3);
% signal at the receiver
x = cos(2*pi*200*t)';
% use the step method to obtain the signal demonstrating the
% effect of the receiver
y = step(hrx,x);
Was this topic helpful?