Use the IIP2 Testbench
block to verify the input second order intercept (iip2) of an Amplifier
block.
Open the model.
open_system('iip2_example.slx')
Open the amplifier block and change the following under Nonlinearity:
Intercept points convention = Input
IP2 = 10 dB
In the IIP2 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 iip2 value of 10 dB.