Matlab Program
Matlab Program
theta5, theta6)
d = [243.3, 0, 0, 227.6, 0, 61.5];
a = [0, 200, 87, 0, 0, 0];
alpha = [-90, 180, 90, 90, -90, 0];
theta = [theta1, -90 + theta2, -90 + theta3, theta4, theta5, theta6]
alpha = deg2rad(alpha);
theta = deg2rad(theta);
T = eye(4);
for i = 1:6
A_i = [cos(theta(i)), -sin(theta(i)) * cos(alpha(i)), sin(theta(i)) * sin(alpha(i)), a(i) * cos(theta(i));
0, 0, 0, 1];