| Uneven Set of x y coordinates [message #56024] |
Tue, 25 September 2007 14:12 |
rpertaub@gmail.com
Messages: 43 Registered: January 2007
|
Member |
|
|
Here is my problem:
I have 2 sets of x,y coordinates:
(20,3) (23,3)
(50,3) (55,3)
(70,3) (74,4)
(110,3) (155,3)
(150,4) (166,3)
etc etc
etc etc
etc etc
It is easy to see the first three x,y positions correspond (it is
known these are close together, and also known that 2nd set is more to
the right than 1st set, i.e. x2>x1)
The fourth x,y inf first set however does not correspond to the 4th in
2nd set, in fact it is a surplus.
I am therefore starting with my shortest array of coordinates and
trying to match it with the appropriate coordinates in the long array
discarding the excess points.
So far I have used for, if and while loops...and I am able to identify
which goes with which, but not able to reach the end of my goal: have
identical size arrays of coordinates (smallest) with matching
points...
HELP!
Thanks,
RP
|
|
|
|