how can i solve this angle between vectors?
Show older comments
Find the angle between the vectors a and b given that a = 3; b = 5; and a-b = 7:
Answers (2)
Andrei Bobrov
on 4 Dec 2015
Edited: Andrei Bobrov
on 4 Dec 2015
1 vote
a = 3;
b = 5;
c = 7;
alpha = acosd((a.^2 + b.^2 - (c).^2)./(2*a*b))
Categories
Find more on Image Transforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!