📄 amp118.m
字号:
%Matlab Program 1-18
disp('Create system model')
sys=tf([1 11 36 26],[1 14.6 74.96 153.7 99.65]);
sys=zpk(sys)
disp('A lalanced state - space realization')
[sysb,gram]=balreal(sys);
gram
disp('Check the states that cab removed')
disp('Reduce the model to lower order')
sysr=modred(sysb,3:4,'mod');
sysr=zpk(sysr)
%compare the original system to the reduced system
step(sys,'r-')
grid
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -