?? get_overshoot.m
字號:
function overshoot=Get_overshoot(yss,y);
%% overshoot=Get_overshoot(yss,y);
%% Find overshoot (percentage) of y
%% overshoot=nan; if yss is not determined.
%% PenChen Chou. 2004/1/15
if nargin~=2,
error('Error! No enough input arguments (need 2)!');
end
if yss==eps,
overshoot=nan;
else
ymax=max(y);
if ymax>yss
overshoot=100*(ymax-yss)/yss;
else
overshoot=1;
end
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -