Triangle area with two vectors

5 次查看(过去 30 天)
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
function Area = TriVecArea(u,v)
Area = .5*norm(cross(u,v));
end

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by