# Linear Interpolation

In mathematics, linear interpolation is a method of curve fitting using linear polynomials to construct new data points within the range of a discrete set of known data points.

XMPro Linear Interpolation Function is used to determine:

- X3 value provided (X1,Y1) (X2,Y2) (?,Y3) values. The formula to calculate X3 value is:
`X3 = X1 + ((Y3 - Y1) * ((X2 - X1) / (Y2 - Y1))`

**OR**

- Y3 value provided (X1,Y1) (X2,Y2)(X3,?) values. The formula to calculate the Y3 value is:
`Y3 = Y1 + ((X3 - X1) * ((Y2 - Y1) / (X2 - X1)))`

None at this time

Name | Link |
---|---|

Linear Interpolation Function v1.12 |

Last modified 6mo ago