Simulink Control Design™ - MathWorks

(Tuis.) #1

sim(mdlSP);
figSP = gcf;
hold on;


Offline Estimation Using Logged Experiment Data


Frequency Response Estimator block has a data outport that allows you to log the
experiment data from simulation or in real-time. You can process that data set offline with
the frestimate command to generate an frd object.


w = logspace(-1,1,20);


Compare online and offline estimation results from the sinestream experiment.


Online Estimation of Frequency Responses of a Nonlinear Plant
Free download pdf