Triangle area with two vectors
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mohammed Saeed
le 7 Déc 2019
Commenté : asdsad Zhang
le 16 Août 2022
Write a function that returns the area of the triangle formed by the vectors u=[2 3 4] and v=[1 -3 -1]
0 commentaires
Réponse acceptée
David Hill
le 7 Déc 2019
function Area = TriVecArea(u,v)
Area = .5*norm(cross(u,v));
end
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Array and Matrix Mathematics dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!