I got all the values but I cannot plot the vectors as shown in the attachment. If I can get help please!
a=10;
b=20;
c=25;
d=30;
theta2=60;
k1=d/a;
k2=d/c;
k3=((a^2-b^2+c^2+d^2)/(2*a*c));
A=sind(theta2);
B=cosd(theta2)-k2;
C=k1*cosd(theta2)-k3;
thetatan1=A+sqrt((A^2+B^2-C^2)/(B+C));
thetatan2=A-sqrt((A^2+B^2-C^2)/(B+C));
theta41=2*atand(thetatan1);
theta42=2*atand(thetatan2);
k4=d/b;
k5=(c^2-d^2-a^2-b^2)/(2*a*b);
D=cosd(theta2)-k1+k4*cosd(theta2)+k5;
E=-2*sind(theta2);
F=k1+(k4-1)*cos(theta2)+k5;
theta3tan1=((-E+sqrt(E^2-3*D8F))/(2*D));
theta3tan2=((-E-sqrt(E^2-3*D8F))/(2*D));
theta31=2*atand(theta3tan1);
theta32=2*atand(theta3tan2);

답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2016년 12월 8일

편집:

2016년 12월 8일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by