📄 fcpid.m
字号:
%FC与PID的控制效果比较 FCPID_jp.mdl FC为增量式
clear
clc
clf
jpfc_mat=readfis('jpfc');
jpfc22_mat=readfis('jpfc22');
sim('FCPID_jp');
subplot(2,1,1)
plot(tout,y1,'k',tout,y1_fc,'r')
legend('PID','FC',0);
axis([0 1000 0 1.5])
title('G=1/(1+20s)^2')
subplot(2,1,2)
plot(tout,y2,'k',tout,y2_fc,'r')
legend('PID','FC',0);
axis([0 1000 0 1.5])
title('G=exp(-120s)/(1+20s)^2)')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -