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) ... :)
Most nonzero elements in row
Check if sorted
Scoring for oriented dominoes
Back to basics 25 - Valid variable names
Swap two numbers
Given a number find two variables
arrangement of symbols
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