Calculate the area of a triangle given the vertices' coordinates and using the formula given.
A = 1/2*crossProduct(AB, AC)
Steps that must be taken to perform the task:
1. Determine vectors AB and AC.
2. Calculate cross product of vectors AB and AC.Calculation should be valid for a triangle in the x-y plane and for a triangle in space (x-y-z).
3. Determine the area of a triangle.
Emmanuel Rodriguez (2021). TriArea (https://github.com/mannyjrod/TriArea/releases/tag/1.0), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!