www.gusucode.com > ident 案例代码 matlab源码程序 > ident/PlotInputAndOutputNonlinearityAndLinearResponseOfAHammerExample.m

    %% Plot Input and Output Nonlinearity and Linear Response of a Hammerstein-Wiener Model
%%
% Estimate a Hammerstein-Wiener Model and plot responses of its input and
% output nonlinearity and linear blocks.

% Copyright 2015 The MathWorks, Inc.

load iddata3
model1 = nlhw(z3,[4 2 1],'sigmoidnet','deadzone');
plot(model1)
%%
% 
% Explore the various plots in the plot window by clicking one of the three
% blocks that represent the model:
% 
% * uNL - Input nonlinearity, representing the static nonlinearity at the
% input ( |model.InputNonlinearity| ) to the LinearBlock.
% * Linear Block - Step, impulse,Bode and pole-zero plots of the embedded
% linear model ( |model.LinearModel| ). By default, a step plot is displayed.
% * yNL - Output nonlinearity, representing the static nonlinearity at
% the output  ( |model.OutputNonlinearity| ) of the Linear Block.