mknyq.m

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

M
33
字号
function mknyq(r,im,w,plt)
%MKNYQ  Mark points along a Nyquist plot.
%       MKNYQ(R,IM,W,plt) marks the points R,IM
%       with the numbers in the vector W.
%       R and IM can be vectors or matrices.
%       If matrices columns are plotted against columns.
%       The input argument plt is optional and indicates
%       the number of plots per page either 1 or 4.
%       The default is 4.
%
%       MKNYQ(C,W,plt) marks the real versus imaginary
%       curves of C with the numbers in the vector W.
%
%       The plot is marked using MKPLOT.
%       MKPLOT turns HOLD OFF.
%       It also toggles the AXIS command.
%       See MKPLOT for more details.
%       See also PLOTNYQ,SUBPLOT.

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

nargs=nargin;
error(nargchk(2,4,nargs));
if nargs==2
   mkplot(r,im)
elseif nargs==3
   mkplot(r,im,w)
else     %  nargs==4   use the inputs as is
   mkplot(r,im,w,plt);
end

⌨️ 快捷键说明

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