io(1) = linio('scdplane/Sum1',1);
io(2) = linio('scdplane/Gain5',1,'output');
Linearize the model and create a sinestream estimation input signal based on the
dynamics of the resulting linear system.
sys = linearize(mdl,io);
in = frest.Sinestream(sys);
Estimate frequency response.
[sysest,simout] = frestimate(mdl,io,in);
Compare the estimated frequency response to the exact linearization result.
frest.simView(simout,in,sysest,sys)
5 Frequency Response Estimation