MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Determine if points are in a straight line? 

Subject: Determine if points are in a straight line? From: J D Date: 10 Sep, 2010 19:04:23 Message: 1 of 10 
Is there a quick way to check if a set of points are in a straight line? 
Subject: Determine if points are in a straight line? From: Matt Fig Date: 10 Sep, 2010 19:20:20 Message: 2 of 10 
Are these supposed to be coordinate pairs? If so you could use the first two points to define one slope and the second two to define a second slope. if the two slopes are the same, they are on a line. For example: 
Subject: Determine if points are in a straight line? From: Walter Roberson Date: 10 Sep, 2010 19:28:15 Message: 3 of 10 
On 100910 02:04 PM, J D wrote: 
Subject: Determine if points are in a straight line? From: Sean Date: 10 Sep, 2010 19:33:06 Message: 4 of 10 
"J D" <JD@USA.com> wrote in message <i6dvfn$qg3$1@fred.mathworks.com>... 
Subject: Determine if points are in a straight line? From: Roger Stafford Date: 10 Sep, 2010 19:54:23 Message: 5 of 10 
"J D" <JD@USA.com> wrote in message <i6dvfn$qg3$1@fred.mathworks.com>... 
Subject: Determine if points are in a straight line? From: Bruno Luong Date: 10 Sep, 2010 22:26:05 Message: 6 of 10 
"J D" <JD@USA.com> wrote in message <i6dvfn$qg3$1@fred.mathworks.com>... 
Subject: Determine if points are in a straight line? From: Jan Simon Date: 12 Sep, 2010 22:50:28 Message: 7 of 10 
Dear Walter, 
Subject: Determine if points are in a straight line? From: Roger Stafford Date: 12 Sep, 2010 23:34:05 Message: 8 of 10 
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <i6jlfk$klf$1@fred.mathworks.com>... 
Subject: Determine if points are in a straight line? From: Loren Shure Date: 13 Sep, 2010 12:23:36 Message: 9 of 10 

Subject: Determine if points are in a straight line? From: Jan Simon Date: 14 Sep, 2010 17:55:23 Message: 10 of 10 
Dear Loren, 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.