vectors u = (2,1,0) and v = (0,1,2). calculate cos thetha where thetha is the angle between u and v
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Shamina Maharaj
le 15 Mar 2016
Réponse apportée : Explorer
le 15 Mar 2016
Please help
0 commentaires
Réponse acceptée
Explorer
le 15 Mar 2016
u = [2 1 0];
v = [0 1 2];
costheta = dot(u,v)/(norm(u)*norm(v))
theta = acos(costheta) %n angle
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Computational Geometry 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!