Write a function that returns the area of the triangle formed by the vectors u=[2 3 4] and v=[1 -3 -1]

 採用された回答

David Hill
David Hill 2019 年 12 月 7 日

1 投票

function Area = TriVecArea(u,v)
Area = .5*norm(cross(u,v));
end

2 件のコメント

Mohammed Saeed
Mohammed Saeed 2019 年 12 月 7 日
Thank you so much i already solve it
asdsad Zhang
asdsad Zhang 2022 年 8 月 16 日
Nice answer. Thank you

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by