wc = 1;
st = looptune(st0,'u','Speed',wc);
Final: Peak gain = 0.979, Iterations = 4
Achieved target gain value TargetGain=1.
In the call to looptune, 'u' specifies the control signal, and 'Speed' specifies the
measured signal.
Compare the tuned and initial response.
stepplot(getIOTransfer(st0,'Ref','Speed'),getIOTransfer(st,'Ref','Speed'));
legend('Initial','Speed');
View the tuned block value.
15 Alphabetical List