chap9_6plot.m
来自「刘金琨老师作品」· M 代码 · 共 17 行
M
17 行
close all;
figure(1);
subplot(211);
plot(t,xp(:,1),'r',t,xp(:,3),'b');
xlabel('time');ylabel('x1 and its observer value');
subplot(212);
plot(t,xp(:,2),'r',t,xp(:,4),'b');
xlabel('time');ylabel('x2 and its observer value');
figure(2);
subplot(211);
plot(t,xp(:,1)-xp(:,3),'r');
xlabel('time');ylabel('error betweem x1 and x2p');
subplot(212);
plot(t,xp(:,2)-xp(:,4),'r');
xlabel('time');ylabel('error betweem x2 and x2p');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?