Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3)
02-21-2014, 02:28 AM
Post: #19
 DeucesAx Junior Member Posts: 20 Joined: Feb 2014
RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3)
I ended up writing this little program:

export int2(xmin,xmax,ymin,ymax,yreal)
BEGIN
local xreal;
xreal:=xmin+((yreal-ymin)/(ymax-ymin))*(xmax-xmin);
return(xreal);
END;

As few keystrokes as it gets I suppose.
 « Next Oldest | Next Newest »

 Messages In This Thread Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - DeucesAx - 02-14-2014, 07:46 AM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - Han - 02-14-2014, 02:52 PM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - Rich - 02-14-2014, 04:44 PM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - DeucesAx - 02-14-2014, 09:48 PM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - patrice - 02-15-2014, 01:21 AM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - DeucesAx - 02-15-2014, 08:22 AM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - CR Haeger - 02-15-2014, 10:53 AM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - patrice - 02-15-2014, 08:46 AM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - Tugdual - 02-15-2014, 12:16 PM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - Tim Wessman - 02-15-2014, 02:51 PM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - Tugdual - 02-15-2014, 03:33 PM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - CR Haeger - 02-15-2014, 04:44 PM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - Tugdual - 02-15-2014, 05:27 PM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - DeucesAx - 02-19-2014, 03:16 AM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - Joe Horn - 02-20-2014, 05:46 AM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - Joe Horn - 02-16-2014, 02:03 AM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - Tugdual - 02-16-2014, 02:13 PM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - rprosperi - 02-21-2014, 01:49 AM RE: Linear Interpolation: Given a pair of (x1,y1), (x2,y2) and x3 predict (x3,y3) - DeucesAx - 02-21-2014 02:28 AM

User(s) browsing this thread: 1 Guest(s)