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) ... :)
Swap the first and last columns
Check if sorted
Back to basics 8 - Matrix Diagonals
Specific Element Count
Is this triangle right-angled?
Rotate a Matrix by 90 degrees
Find number of days
Replace Vector Elements
arrangement of symbols
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