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) ... :)
Sums with Excluded Digits
Doubling elements in a vector
Find the logic
Switch matrix to a column vector
Back to basics - mean of corner elements of a matrix
Replace Vector Elements
Find number of days
arrangement of symbols
Convert from Base 10 to base 5
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