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 Solvers3412
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15777 Solvers
-
Extract leading non-zero digit
2244 Solvers
-
Flip the main diagonal of a matrix
901 Solvers
-
Getting the indices from a matrix
718 Solvers
-
613 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!