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

📄 tut2.m

📁 Robust自动控制讲义
💻 M
字号:
%  Tutorial 2. Part 2.  %    Disk drive problem%    Robust stability evaluation using the structured
%    singular value.
clear
%  Define the state model for the transfer function M
A=[  -1000   0   -50
      5000   0    0 
   -   0     1  -20];
B=[-1 0 
    0 0 
    0 -1 ];
C=[500 0  0
     0 0  10];
D=zeros(2,2);
%  Generate the frequency response for this system.
w=logspace(-4,3);
M=pck(A,B,C,D);
fr=frsp(M,w);
%  Compute the structured singular value from the frequency response.
%    Compute the structured singular value mu.
muM=mu(fr);%  Plot the results.
vplot('liv,lm',muM)
xlabel('Frequency (rad/sec)')
ylabel('Magnitude')
%  Compute the maximum of mu over the frequency range studied.
maxmu=max(muM(:,1))

⌨️ 快捷键说明

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