Browse Source

Delete Fitness

master
TianZhendong 6 years ago
committed by GitHub
parent
commit
789a9262d0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      Fitness

7
Fitness

@ -1,7 +0,0 @@
function z=fitness(Kp,Ki,Kd)
assignin('base','Kp',Kp);
assignin('base','Ki',Ki);
assignin('base','Kd',Kd);
[~,~,y_out]=sim('thetapid',[0,50]);
z=1/(y_out(end,1)); %%表示 取这个 矩阵的第一列最后一行的数据。
Loading…
Cancel
Save