Use the Idealized Baseband Amplifier block to simulate nonlinearities and noise in your RF system design. The Amplifier block provides four nonlinearity models and three options to represent noise.
The Cubic polynomial
model uses linear power gain to determine the linear coefficient of a thirdorder polynomial and either IP3, P1dB, or Psat to determine the third  order coefficient of the polynomial. The general form of cubic nonlinearity models the AM/AM characteristics as
$${\text{F}}_{\text{AM/AM}}{\text{(u)=c}}_{\text{1}}\text{\xd7u+}\frac{\text{3}}{\text{4}}{\text{c}}_{\text{3}}{\text{\xd7u}}^{\text{3}}$$
where F_{AM/AM}(u)
is the
magnitude of the output signal, u is the magnitude of the input
signal, c_{1} is the coefficient of the
linear gain term, and c_{3} is the
coefficient of the cubic gain term. The results for IIP3, OIP3, IP1dB, OP1dB, IPsat
and OPsat are taken from [1]. The coefficient
c_{3} are given in this
table.
Nonlinearity Type  Equations 

Input thirdorder intercept point, IIP3 (dBm)  $${c}_{3}=\frac{4{c}_{1}}{3\times {10}^{[(IIP330)/10]}}$$ IIP3 is given in dBm. 
Output thirdorder intercept point,OIP3 (dBm)  $${c}_{3}=\frac{4{c}_{1}^{3}}{3\times {10}^{[(OIP330)/10]}}$$ OIP3 is given in dBm. 
Input 1 dB gain compression power,IP1dB (dBm)  $${c}_{3}=\frac{2{c}_{1}({10}^{\raisebox{1ex}{$19$}\!\left/ \!\raisebox{1ex}{$20$}\right.}10)}{15\times {10}^{[(IP1dB30)/10]}}$$ IP1dB is given in dBm. 
Output 1 dB gain compression power, OP1dB (dBm)  $${c}_{3}=\frac{2{c}_{1}^{3}({10}^{\raisebox{1ex}{$19$}\!\left/ \!\raisebox{1ex}{$20$}\right.}10)}{15\times {10}^{[(OP1dB30LGdB+1)/10]}}$$ OP1dB is given in dBm, and LGdB is the linear gain in dB. 
Input saturation power, IPsat (dBm)  $${c}_{3}=\frac{4{c}_{1}}{9\times {10}^{[(IPsat30)/10]}}$$ IPsat is given in dBm. 
Output saturation power, OPsat (dBm)  $${c}_{3}=\frac{16{c}_{1}^{3}}{81\times {10}^{[(OPsat30)/10]}}$$ OPsat is given in dBm. 
The AM/AMAM/PM
model uses a lookup table to specify the amplifier power characteristics. The table returns interpolated or extrapolated values using linear interpolation. Each row in the table expresses the relationship between output power or phase change as a function of input power.
$${u}_{\text{out}}=Tabl{e}_{AM/AM}(u)\times {e}^{((Tabl{e}_{AM/PM}(u)+\angle u)\times i)}$$
where u_{out}
is the output signal and u is the magnitude of input signal.
The Saleh
model is based on normalized transfer function. Use the input / output scaling parameters to adjust signal levels from their normalized values. For Saleh
, the AM/AM parameters alpha_{AM/AM} and beta_{AM/AM} are used to compute the amplitude gain for an input signal using the following equation:
$${F}_{AM/AM}(u)=\frac{alph{a}_{AM/AM}\times \leftu\right}{1+bet{a}_{AM/AM}\times u{}^{2}}$$
where u is the magnitude of the scaled signal and u
is calculated as:
$$u=InputScale\times {u}_{\text{in}}$$
For Saleh
, the AM/PM parameters alpha_{AM/PM} and beta_{AM/PM} are used to compute the phase change for an input signal using the following equation:
$${F}_{AM/PM}(u)=\frac{alph{a}_{AM/PM}\times u{}^{2}}{1+bet{a}_{AM/PM}\times u{}^{2}}+angle(u)$$
where u is the magnitude of the scaled signal and angle is a MATLAB^{®} function that returns the phase angle of u.
The scaled output signal, u_{out} is calculated as:
$${u}_{\text{out}}={F}_{AM/AM}\times {e}^{({F}_{AM/PM}\times i)}\times OutputScale$$
The Modified Rapp
model is based on normalized transfer functions. Use the input and output scaling parameters to adjust the signal levels from their normalized values. The AM/AM characteristics for Modified Rapp
are given by:
$${F}_{AM/AM}(u)=\frac{{g}_{lin}\times \leftu\right}{{(1+\frac{{g}_{lin}\times u}{{V}_{sat}}{}^{2p})}^{\raisebox{1ex}{$1$}\!\left/ \!\raisebox{1ex}{$2p$}\right.}}$$
where u is the magnitude of input signal, g_{lin} is 10^{(Linear Gain (dB)/20)}, and is the amplitude gain of the amplifier, V_{sat} is Output saturation level (V), and p is Magnitude smoothness factor.
The AM/PM characteristics for Modified Rapp
is given by
$${F}_{AM/PM}(u)=\frac{{\rm A}\times u{}^{q}}{{[1+(\frac{\leftu\right}{B})]}^{q}}+angle(u)$$
where u is the input signal, A is the Phase gain
(rad), B is Phase
saturation, q is Phase smoothness
factor and angle is a MATLAB function which
returns phase angle of u
.
The output signal u_{out} is calculated as:
$${u}_{\text{out}}={F}_{AM/AM}(u)\times {e}^{({F}_{{}_{AM/PM}}(u)\times i)}$$
To visualize the functionality of Plot power characteristics button, you can set the parameters of the Amplifier block as listed in the table.
Model  Parameters  Power Characteristics Plot 

Cubic Polynomial  Main tab:
Noise tab:
 
AM/AM  AM/PM  Main tab:
Noise tab:
 
Modified Rapp  Main tab:
Noise tab:
 
Saleh  Main tab:
Noise tab:

All four subsystems for the amplifier nonlinearity models apply a memoryless nonlinearity to the complex baseband input signal. Each model
Multiplies the signal by a gain factor.
Splits the complex signal into its magnitude and angle components.
Applies an AM/AM conversion to the magnitude of the signal, according to the selected nonlinearity model, to produce the magnitude of the output signal.
Applies an AM/PM conversion to the phase of the signal, according to the selected nonlinearity model, and adds the result to the angle of the signal to produce the angle of the output signal.
According to the Specify noise type parameter, you can specify the amount of thermal noise in three ways,
Noise temperature
— Specifies the noise in kelvin.
Noise factor
— Specifies the noise by using the equation:
$$\text{Noisefactor=1+}\frac{\text{Noisetemperature}}{\text{290}}$$
Noise figure
— Specifies the noise in decibels relative to a noise temperature of 290 kelvin. In terms of noise factor
$$\text{Noisefigure=10\xd7log(Noisefactor)}$$
Note
Some RF Blockset™ blocks require the sample time to perform baseband modeling calculations. To ensure accuracy in these calculations, the Input Port block, as well as the mathematical RF blocks compare the input sample time to the sample time you provide in the mask. If these times do not match, or if the input sample time is missing because the blocks are not connected, an error message appears.
To learn how to use the idealized baseband library Amplifier block to amplify a signal with nonlinearity and noise, see Idealized Baseband Amplifier with Nonlinearity and Noise.
[1] Kundert, Ken.“ Accurate and Rapid Measurement of IP_{2} and IP_{3},“ The Designer Guide Community, May 22, 2002.