📄 sim_rock.m
字号:
% Generates the open-loop connection for the rocket stabilization
% system simulation
%
% rocket model
mod_rock
% sensor models
wsa_rock
%
systemnames = ' G_rock Wa Wan Wg Wgn ';
inputvar = '[ pert{7}; ref; noise{2}; control ]';
outputvar = '[ G_rock; control; 0.4*ref - Wa - Wan; -Wg - Wgn ]';
input_to_G_rock = '[ pert; control ]';
input_to_Wa = '[ G_rock(10) ]';
input_to_Wan = '[ noise(1) ]';
input_to_Wg = '[ G_rock(9) ]';
input_to_Wgn = '[ noise(2) ]';
sysoutname = 'sim_ic';
cleanupsysic = 'yes';
sysic
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -