frgersh.m

来自「MFD-多变量系统频域设计工具」· M 代码 · 共 23 行

M
23
字号
function c=frgersh(w,f,i,n)
%FRGERSH         Generate row Gershgorin circles.
%       FRGERSH(W,F,i) calculates the row Gershgorin circles for row i
%       of the MVFR matrix, F, and returns one column per frequency
%       which contains the points on the circle at that frequency.
%
%       FRGERSH(W,F,i,n) calls FCOMP(W,F,n) befor
%       calculating the row Gershgorin circles for row i.
%
%       See also FCOMP

%       Dr M.P. Ford 4th August 1987
% Copyright (c) 1987 by GEC Engineering Research Centre & Cambridge Control Ltd

if nargin==4
   [f,w]=fcomp(w,f,n);
end
cent=fdiag(w,f);
rad=frsod(w,f);
c=circ(cent(:,i),rad(:,i),31);
end

⌨️ 快捷键说明

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