📄 rs.m
字号:
clear;
sim('rsflop');
figure
subplot(3,1,1);
plot(t,S,'r');
xlabel('time(sec)');
ylabel('S input');
axis([0,10,-0.1 2]);
grid on;
subplot(3,1,2);
plot(t,R,'r');
xlabel('time(sec)');
ylabel('R input');
axis([0,10,-0.1,2]);
grid on;
subplot(3,1,3);
plot(t,enable,'r');
xlabel('time(sec)');
ylabel('enable');
axis([0 10 -0.1 2]);
grid on;
figure;
subplot(2,1,1);
plot(t,Q,'r');
xlabel('time(sec)');
ylabel('Q output');
axis([0,10,-0.1,2]); grid on;
subplot(2,1,2);
plot(t,Qp,'r');
xlabel('time(sec)');
ylabel('Q-inverse output');
axis([0,10,-0.1,2]);
grid on;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -