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

📄 clf_mds.m

📁 关于Mass-Damper-SpringSystem的鲁棒控制代码
💻 M
字号:
% Closed-loop frequency responses for three controllers of the
% mass/damper/spring system
%
sim_mds
omega = logspace(-2,2,100);
%
% H_infinity controller
clp_hin = lft(sim_ic,K_hin);
ref_hin = clp_hin(1,1).Nominal;
%
% Loop Shaping controller
clp_lsh = lft(sim_ic,K_lsh);
ref_lsh = clp_lsh(1,1).Nominal;
%
% mu-controller
clp_mu = lft(sim_ic,K_mu);
ref_mu = clp_mu(1,1).Nominal;
%
figure(1)
bode(ref_hin,'r-',ref_lsh,'m--',ref_mu,'b-.'), grid
title('Bode plots of closed-loop systems')
legend('H_\infty controller','Loop Shaping controller','\mu-controller',1)

⌨️ 快捷键说明

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