%% Peak Gain of Transfer Function
% Compute the peak gain of the resonance in the following transfer function:
% sys = {{90} \over {{s^2} + 1.5s + 90}}.

sys = tf(90,[1,1.5,90]);
gpeak = getPeakGain(sys)

% The getPeakGain command returns the peak gain in absolute units.
% Copyright 2012 The MathWorks, Inc.