📄 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 + -