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) ... :)
vectorization in N
Energy of a photon
Angle between two vectors
Replace Vector Elements
Reverse the elements of an array
mathematics , probability problem
Find nearest prime number less than input number
Calculate the area of a triangle between three points
Convert from Base 10 to base 5
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