五、程序
clear all; close all;
M=60;%阀门开度初始值为60 H=100; h=80; b=3.5; s=120;
xite=0.50; alfa=0.05;
w2=rands(6,1);
w2_1=w2;w2_2=w2_1;
w1=rands(1,6);
w1_1=w1;w1_2=w1_1;
dw1=0*w1;
x=[0]';
I=[0,0,0,0,0,0]'; Iout=[0,0,0,0,0,0]'; FI=[0,0,0,0,0,0]';
ts=0.001;
for k=1:1:8500