... Command Window dùng 2 lệnh sau: >>pid0=[1.39 0.2 1.56]; >>pid=lsqpid(pid0,' bai_ tap& apos;,[0 500]) Màn hình sẽ hiện ra kết quả : > In C:\MATLAB6p5\toolbox\optim\leastsq.m ... options=foptions; options=[1 0.01 0.01]; pid=leastsq('yout_1',pid0,options,[],&apos ;bai_ tap& apos;,tspan); 3.Quá trình tính toán trên máy: a)Sơ lược quá trình tính: -Dùng 2 cửa ... hành. *Bước 1:Copy 3 file vừa tạo vào thư mục Optim/Toolbox/Matlab. *Bước 2:Tạo mô hình &apos ;bai_ tap& apos; trên Simulink: Hình 7 >> T=15;L=9;Kp=1.39;Ti=16.5;Td=3; >>[n,d]=pade(L,3);...