forkin3.m
来自「This code proposes genetic algorithm (GA」· M 代码 · 共 7 行
M
7 行
function f = forkin3(t1,t2,t3)
global l1 l2 l3
% a1=1;a2=1;a3=0.5;
x=l1*cos(t1)+l2*cos(t1+t2)+l3*cos(t1+t2+t3);
y=l1*sin(t1)+l2*sin(t1+t2)+l3*sin(t1+t2+t3);
phi=t1+t2+t3;
f=[x; y ;phi];
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?