qftdm13b.m

来自「机器人控制仿真程序一书的所有源代码」· M 代码 · 共 54 行

M
54
字号
function qftdm13b
% Second stage of QFTDM13
%=================================

% Copyright (c) 1995-98 by The MathWorks, Inc.
%       $Revision: 1.6 $

global win1_loc win2_loc win3_loc win4_loc ...
       info_win info_str info_btn ...
       nump denp P w T ...
       W1 bdb1 wbd7 W7 bdb7

% close all windows from last stage and clear strings in information window
close(findobj('tag','qft'));
set(info_str,'string','');

% BOUNDS
%=================================

% display info in information window
set(info_str(1),'string','Computing bounds...');
set(info_str(2),'string','bdb1=sisobnds(1,w,w,W1,P,R,nompt)');

% define weight
W1 = 1.2;

% compute bounds
bdb1 = sisobnds(1,w,w,W1,P);

% plot bounds
plotbnds(bdb1,[],[],win1_loc);
title('Robust Stability Bounds');
drawnow;

% display info in information window
set(info_str(2),'string','bdb7=sisobnds(7,w,wbd7,W7,P)');

wbd7=[.1,.5,1,15];
mu=freqcp(0.6584*[1,30],[1,4,19.752],w);
ml=freqcp(120,[1,17,82,120],w);

% tracking weight
W7=[abs(mu);abs(ml)];
bdb7=sisobnds(7,w,wbd7,W7,P);

plotbnds(bdb7,[],[],win3_loc);
title('Robust Tracking Bounds');

% End of computations for stage 2

next_stage = 'qftdm13c';
last=1;
nxtstage

⌨️ 快捷键说明

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