Use the OIP2 Testbench
block to verify the output second order intercept (OIP2) of an Amplifier
block.
Open the model.
open_system('oip2_example.slx')
Open the amplifier block and change the following under Nonlinearity:
Intercept points convention = Output
IP2 = 10
In the OIP2 Testbench block, clear the following:
Simulate noise (both stimulus and DUT internal)
Show Response spectrum
Run the model. You will see that the display shows a OIP2 value of 10 dB.