gongue Posted September 9, 2010 Report Share Posted September 9, 2010 hi all. someone has the formula equation of the linearization f.block? where Y = Quote Link to comment Share on other sites More sharing options...
Phil Salkie Posted September 10, 2010 Report Share Posted September 10, 2010 My educated guess would be: y = (((y2 - y1) * (x - x1)) / (x2 - x1)) + y1 Note that all the intermediate calculations are made in 32 bit integers, and if those calculations exceed the 32 bit signed integer range, the "y" result will be random, as none of the intermediate calculations are bounds-checked for overflow. Quote Link to comment Share on other sites More sharing options...
HigHTech Posted September 10, 2010 Report Share Posted September 10, 2010 The equation must be: Y = (y2-y1)/(x2-x1)(X-x1)+ y1 Quote Link to comment Share on other sites More sharing options...
gongue Posted September 14, 2010 Author Report Share Posted September 14, 2010 thanks very much friends phil & hightech Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.