Main Content

plot

Plot nonlinearity AM/AM and AM/PM characteristics

Description

example

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

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. Axes 1 with title Cubic Polynomial AM/AM contains 17 objects of type line, text. These objects represent Amplifier, Linear Gain, 3rd Harmonic. Axes 2 with title Cubic Polynomial AM/PM contains an object of type line.

plot(ampHyperbolic);

Figure contains 2 axes. Axes 1 with title Hyperbolic Tangent AM/AM contains an object of type line. Axes 2 with title Hyperbolic Tangent AM/PM contains an object of type line.

plot(ampSaleh);

Figure contains 2 axes. Axes 1 with title Saleh AM/AM contains 7 objects of type line, text. These objects represent Saleh, Linear Gain. Axes 2 with title Saleh AM/PM contains an object of type line.

plot(ampLookupTable);

Figure contains 2 axes. Axes 1 with title Table-based AM/AM contains 2 objects of type line. Axes 2 with title Table-based AM/PM contains 2 objects of type line.

plot(ampGhorbani);

Figure contains 2 axes. Axes 1 with title Ghorbani AM/AM contains an object of type line. Axes 2 with title Ghorbani AM/PM contains an object of type line.

plot(ampModRapp);

Figure contains 2 axes. Axes 1 with title Modified Rapp AM/AM contains an object of type line. Axes 2 with title Modified Rapp AM/PM 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.

Introduced in R2021a