How to draw the vector

10 vues (au cours des 30 derniers jours)
Hisham Alfawzan
Hisham Alfawzan le 8 Déc 2016
Modifié(e) : KSSV le 8 Déc 2016
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);

Réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by