in = frest.Sinestream('Frequency',logspace(1,2,10),...
'NumPeriods',30,'SettlingPeriods',25);
[sysest,simout] = frestimate(mdl,io,in);
Perform exact linearization, and compare to the estimated response.
sys = linearize(mdl,io);
bodemag(sys,sysest,'r*')
The estimated frequency response does not match the exact linearization. The mismatch
occurs because time-varying source blocks in the model prevent the response from
reaching steady state.
Find the time-varying blocks using frest.findSources.
srcblks = frest.findSources(mdl);
15 Alphabetical List