Main Content

plot

Plot nonlinearity AM/AM and AM/PM characteristics

Since R2021a

Description

plot(mnl) plots the output signal power and the phase change versus the input signal power. This syntax is equivalent to plot(mnl,'Pout').

example

plot(mnl,'Gain') plots the gain and the phase change versus the input signal power.

mnlplot = plot(___) returns a handle to the figure containing the generated plot. Specify an input argument combination from any of the previous syntaxes.

Examples

collapse all

Plot the amplifier output power and phase response for various model methods.

Create a memoryless nonlinearity impairment System object™ for each of the nonlinearity modeling methods.

ampCubicPoly= comm.MemorylessNonlinearity('Method','Cubic polynomial');
ampHyperbolic = comm.MemorylessNonlinearity('Method','Hyperbolic tangent');
ampGhorbani = comm.MemorylessNonlinearity('Method','Ghorbani model');
ampSaleh = comm.MemorylessNonlinearity('Method','Saleh model');
ampModRapp = comm.MemorylessNonlinearity('Method','Modified Rapp model');
ampLookupTable = comm.MemorylessNonlinearity('Method','Lookup table','ReferenceImpedance',50);

Use the plot object function of the comm.MemorylessNonlinearity System object to show the response curves for the output power and phase for the each of the amplifier models.

plot(ampCubicPoly);

Figure contains 2 axes objects. Axes object 1 with title Cubic Polynomial AM/AM, xlabel P_i_n (dBm), ylabel P_o_u_t (dBm) contains 17 objects of type line, text. These objects represent Amplifier, Linear Gain, 3rd Harmonic. Axes object 2 with title Cubic Polynomial AM/PM, xlabel P_i_n (dBm), ylabel Phase (deg) contains an object of type line.

plot(ampHyperbolic);

Figure contains 2 axes objects. Axes object 1 with title Hyperbolic Tangent AM/AM, xlabel P_i_n (dBm), ylabel P_o_u_t (dBm) contains an object of type line. Axes object 2 with title Hyperbolic Tangent AM/PM, xlabel P_i_n (dBm), ylabel Phase (deg) contains an object of type line.

plot(ampSaleh);

Figure contains 2 axes objects. Axes object 1 with title Saleh AM/AM, xlabel P_i_n (dBm), ylabel P_o_u_t (dBm) contains 7 objects of type line, text. These objects represent Saleh, Linear Gain. Axes object 2 with title Saleh AM/PM, xlabel P_i_n (dBm), ylabel Phase (deg) contains an object of type line.

plot(ampLookupTable);

Figure contains 2 axes objects. Axes object 1 with title Table-based AM/AM, xlabel P_i_n (dBm), ylabel P_o_u_t (dBm) contains 2 objects of type line. One or more of the lines displays its values using only markers Axes object 2 with title Table-based AM/PM, xlabel P_i_n (dBm), ylabel Phase (deg) contains 2 objects of type line. One or more of the lines displays its values using only markers

plot(ampGhorbani);

Figure contains 2 axes objects. Axes object 1 with title Ghorbani AM/AM, xlabel P_i_n (dBm), ylabel P_o_u_t (dBm) contains an object of type line. Axes object 2 with title Ghorbani AM/PM, xlabel P_i_n (dBm), ylabel Phase (deg) contains an object of type line.

plot(ampModRapp);

Figure contains 2 axes objects. Axes object 1 with title Modified Rapp AM/AM, xlabel P_i_n (dBm), ylabel P_o_u_t (dBm) contains an object of type line. Axes object 2 with title Modified Rapp AM/PM, xlabel P_i_n (dBm), ylabel Phase (deg) contains an object of type line.

Input Arguments

collapse all

Memoryless nonlinearity, specified as a comm.MemorylessNonlinearity System object.

Output Arguments

collapse all

Plot figure, returned as a Figure object created using the figure function. Use the Figure object to query or modify properties of the figure after it is created.

Version History

Introduced in R2021a