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

📄 ex10_1.m

📁 离散控制系统设计的MATLAB 代码
💻 M
字号:
%%%%%%%%%%%%%%%%% Example 10.1 %%%%%%%%%%%%%%%%%%
%   Discrete-Time Control Problems using        %
%       MATLAB and the Control System Toolbox   %
%   by J.H. Chow, D.K. Frederick, & N.W. Chbat  %
%         Brooks/Cole Publishing Company        %
%                September 2002                 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%   ---- Controllability matrix ----
%
clear
disp('Example 10.1')

Ts = 0.1;
A = [0.81   -0.23   -0.045;    % state matrix
     0.09    0.98   -0.0023;
     0.005   0.10    1     ];
B = [0.09 0.0047 0.00016]';    % input matrix
Co = ctrb(A,B)                 % controllability matrix
c_eig = rank(Co)               % number of controllable eigenvalues

polesA = eig(A)		           % need these for example 10.3
[mag_p,theta_z] = xy2p(polesA);
%%%%%%%%%%

⌨️ 快捷键说明

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