📄 reinf5_10.m
字号:
%%%%%%%%%% Reinforcement Problem 5.10 %%%%%%%%%%%
% 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 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
disp('Reinforcement Problem 5.10')
Ts = 0.1
A = [-5 -2 0; 1 0 0; 0 1 0]
B = [1; 0; 0], C = [1 0 2], D = 0
Gs = ss(A,B,C,D)
Gz = c2d(Gs,Ts,'zoh')
Gz = c2d(Gs,Ts,'foh')
%%%%%%%%%%
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -