——文献理解与matlab&simulink实例设计(Active Disturbance Rejection Control)
clc;clearall;closeall;%运行时间time=10;%仿真步长h=0.01;%时间定义t=0.01:h:time;%跟踪信号v0=zeros(1,time/h);fori=time/h/2+1:time/hv0(i)=1;endrand_noise=0.05*randn(1,time/h);%加入随机噪声vn=v0+rand_noise;%--------------------