In this problem the input is the coordinate of the three points in a XY plane?
how can we find out if all the three points are on the same line or not?
for example the points (1,1) , (-1,-1) , (0,0) are on the line y=x.
Line, plane, two points, three points???
I think you should put some order in your mind (and in description also) ... :)
We love vectorized solutions. Problem 1 : remove the row average.
Count up then down
Do you like your boss?
Find the dimensions of a matrix
Soccer - TOTO
Find nearest prime number less than input number
Calculate the area of a triangle between three points
Rotate a Matrix by 90 degrees
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