Triangle area with two vectors

3 visualizaciones (últimos 30 días)
Mohammed Saeed
Mohammed Saeed el 7 de Dic. de 2019
Comentada: asdsad Zhang el 16 de Ag. de 2022
Write a function that returns the area of the triangle formed by the vectors u=[2 3 4] and v=[1 -3 -1]

Respuesta aceptada

David Hill
David Hill el 7 de Dic. de 2019
function Area = TriVecArea(u,v)
Area = .5*norm(cross(u,v));
end
  2 comentarios
Mohammed Saeed
Mohammed Saeed el 7 de Dic. de 2019
Thank you so much i already solve it
asdsad Zhang
asdsad Zhang el 16 de Ag. de 2022
Nice answer. Thank you

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Array and Matrix Mathematics en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by