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!