📄 rpvmake.m
字号:
% RPVMAKE Make RPV state-space model in workspace and on disk.
%
% This is a script file which creates the state-space matrices of the
% RPV model given in the Appendix of 'Multivariable Feedback Design'
% by J.M.Maciejowski (Addison-Wesley, 1989). The matrices are
% called 'rpva', 'rpvb', 'rpvc', and 'rpvd', respectively. After
% execution of the file they exist in the workspace, and in the file
% 'rpvmod.mat' (so they can be loaded using 'load rpvmod').
% J.M.Maciejowski, 18 May 1989.
% Copyright (C) 1989 by Cambridge Control Ltd.
rpva = [-0.02567 -36.617 -18.897 -32.090 3.2509 -0.76257
9.257e-5 -1.8997 0.98312 -7.256e-4 -0.178 -4.965e-3
0.012338 11.720 -2.6316 8.758e-4 -31.604 22.396
0 0 1 0 0 0
0 0 0 0 -30 0
0 0 0 0 0 -30];
rpvb = [ zeros(4,2) ; 30*eye(2)];
rpvc = zeros(2,6); rpvc(1,2) = 1; rpvc(2,4) = 1;
rpvd = zeros(2);
save rpvmod rpva rpvb rpvc rpvd
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -