Calculate the area of a triangle between three points:
P1(X1,Y1)
P2(X2,Y2)
P3(X3,Y3)
these three points are the vertices of the triangle.
Solution Stats
Problem Comments
6 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers3420
Suggested Problems
-
27615 Solvers
-
Find relatively common elements in matrix rows
2151 Solvers
-
738 Solvers
-
Convert a Cell Array into an Array
2195 Solvers
-
8325 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The test suite checks for equality, but different techniques have small numerical differences. The test suite should allow for these differences, as it eliminates many solutions that are correct.
This problem has been updated to check against a small error value rather than for equality.
Good problem
Hi Team,
I am getting error after submitting as,
"We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly"
But completion bar has been incremented.
Thanks and Have a Good DaY
Would the use of polyarea(x,y) work?
I tried but I'm getting an issue to submit!
for bringing back memories- THANK YOU!