mvdb.m

来自「包含大量遗传算法程序」· M 代码 · 共 27 行

M
27
字号
function mvdb(w,f,index)
%MVDB   Plot Multi-Variable magnitude Bode diagram.
%       MVDB(W,F,INDEX) plots the magnitudes of elements of
%       the MVFR matrix, F, specified by INDEX on a Bode diagram.
%       `Unwrap' is applied to the phases before plotting.
%
%       INDEX is an optional argument which is a two
%       column matrix whose rows specify the elements
%       of F to be plotted.
%       If INDEX is missing all the elements are plotted.
%
%       See also MVBODE,MVNIC,MVNYQ,PLOTBODE,PLOTDB,UNWRAP.

%       Dr M.P. Ford 4th August 1987
% Copyright (c) 1987,1993 by GEC Engineering Research Centre and 
% Cambridge Control Ltd. All Rights Reserved.
% History:
%   `fixphase' replaced by `unwrap', 29.5.93,JMM.

if nargin == 3
   f=fget(w,f,index);
else
   f=fget(w,f);
end
plotdb(w,f)

⌨️ 快捷键说明

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