%% IIP3 Testbench
% Use the |IIP3 Testbench| block to verify the input third order intercept
% (IIP3) of an |Amplifier| block.
%%
% Open the model. 
open_system('iip3_example.slx')
%%
% Open the Amplifier block and change the following under
% *Nonlinearity*:
% 
% * Intercept points convention = Input
% * IP3 = 20 dB
% 
%%
% In the IIP3 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 IIP3 value of 20 dB.
%%
% 
% <<../iip3_2.png>>
% 


%% 
% Copyright 2012 The MathWorks, Inc.