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 Solvers3519
Suggested Problems
-
Swap the first and last columns
22977 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
727 Solvers
-
find the maximum element of the matrix
539 Solvers
-
8690 Solvers
-
447 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!