Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Alumno:
Robledo Castillo Rodrigo
Profesor: Iván Alejandro Gutiérrez Giles
Grupo: 1
O0= [0,0];
O1= [l1*cos(theta1), l1*sin(theta1)];
O2= O1+[l2*cos(theta1+theta2),l2*sin(theta1+theta2)];
O3= O2+[l3*cos(phi),l3*sin(phi)];
Dots= [O0;O1;O2;O3];
subplot(2,1,1)
line(Dots(:,1),Dots(:,2))
1
theta1 = atan2(Oy - l3*sin(phi), Ox-l3*cos(phi)) - atan2(l2*sin(theta2),l1+l2*cos(theta2));
theta3 = phi -theta1 -theta2;
[theta1*180/pi,theta2*180/pi,theta3*180/pi]
O0= [0,0];
O1= [l1*cos(theta1), l1*sin(theta1)];
O2= O1+[l2*cos(theta1+theta2),l2*sin(theta1+theta2)];
O3= O2+[l3*cos(phi),l3*sin(phi)];
Dots= [O0;O1;O2;O3];
subplot(2,1,2)
line(Dots(:,1),Dots(:,2))
Haciendo pruebas con los parámetros especificados en el código se obtienen las siguientes gráficas: