how can i solve this angle between vectors?
显示 更早的评论
Find the angle between the vectors a and b given that a = 3; b = 5; and a-b = 7:
回答(2 个)
Andrei Bobrov
2015-12-4
编辑:Andrei Bobrov
2015-12-4
1 个投票
a = 3;
b = 5;
c = 7;
alpha = acosd((a.^2 + b.^2 - (c).^2)./(2*a*b))
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!