You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
You can calculate the area of a triangle if you know the lengths of all three sides, using a formula that has been known for nearly 2000 years.
It is called "Heron's Formula" after Hero of Alexandria (see below)
Just use this two step process:
Step 1: Calculate "s" (half of the triangles perimeter):
p = (a+b+c)/2
Step 2: Then calculate the Area:
herons formula A = sqrt( p(p-a)(p-b)(p-c) )
Cite As
Roberto Datja (2026). Area of a triangle (https://se.mathworks.com/matlabcentral/fileexchange/71481-area-of-a-triangle), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (1.28 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
