⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 normhinffr.m

📁 国外人编写的一个分数阶系统的控制工具箱
💻 M
字号:
function Hinf = normhinfFr (F, Q, w)

% function Hinf = normhinfFr (F, Q, w)
% The Hinf norm of transfer function F, commensurate of order Q, is found
% using sigmaFr. w (in rad/s) is either a list of frequencies
% or a cell-array with the frequency range of interest, {wMin wMax}.
% Q is optional (default is 1) and w too (if given, it should be chosen
% with care; this may be useful to speed calculations up by using fewer values,
% but under pain of obtaining inaccurate results).
% Duarte Val閞io 2004

if nargin < 2, Q = 1; end % integer plants assumed as default
if nargin < 3 % bounds for w will be found; sigmaFr will use 10 frequencies/decade
    temp = abs([tzero(F); pole(F)]);
    if min(temp)
        wmax = 10^ceil(log10(max(temp))) * 1e5;
        wmin = 10^floor(log10(min(temp))) / 1e5;
    else % temp has zeros
        wmax = 1e5;
        wmin = 1e-5;
    end
    singval = sigmaFr(F, Q, {wmin wmax});
else % user-provided w
    singval = sigmaFr(F, Q, w);
end
Hinf = max(max(singval));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -