Calculate the area of a triangle between three points:
these three points are the vertices of the triangle.
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.
Project Euler: Problem 9, Pythagorean numbers
Return elements unique to either input
Get the elements of diagonal and antidiagonal for any m-by-n matrix
Free passes for everyone!
Create a vector
Find nearest prime number less than input number
Given a number find two variables
Rotate a Matrix by 90 degrees
Find number of days
Are all the three given point in the same line?
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office