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개)

카테고리

태그

질문:

2019년 12월 7일

댓글:

2022년 8월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by