Input P1,P2,P3 which are coordinates of vertices of triangle. Output area gives the area of the triangle
Sri Harsha Kondapalli (2021). AreaTri(P1,P2,P3) (https://www.mathworks.com/matlabcentral/fileexchange/62697-areatri-p1-p2-p3), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Easy piece of code, but handy. Can be easily incorporated in more complex functions.