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 = 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. 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 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now