GMS:Quadratic Nodal Functions: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
The nodal functions used in inverse distance weighted interpolation can be higher degree polynomial functions constrained to pass through the scatter point and approximate the nearby points in a least squares manner. Quadratic polynomials have been found to work well in many cases (Franke & Nielson 1980; Franke 1982). The resulting surface reproduces local variations implicit in the dataset, is smooth, and approximates the quadratic nodal functions near the scatter points. The equation used for the quadratic nodal function centered at point ''k'' is as follows:
The nodal functions used in inverse distance weighted interpolation can be higher degree polynomial functions constrained to pass through the data points and approximate the nearby points in a least squares manner. Quadratic polynomials have been found to work well in many cases (Franke & Nielson 1980; Franke 1982). The resulting surface reproduces local variations implicit in the dataset, is smooth, and approximates the quadratic nodal functions near the data points. The equation used for the quadratic nodal function centered at point ''k'' is as follows:


<!--[[Image:idw_eq7.gif]]-->
<!--[[Image:idw_eq7.gif]]-->
Line 11: Line 11:
[[Image:quadnodef2.jpg]]
[[Image:quadnodef2.jpg]]


Now there are only five unknown coefficients. The coefficients are found by fitting the quadratic to the nearest ''NQ'' scatter points using a weighted least squares approach. In order for the matrix equation used to solve for the coefficients to be stable, there should be at least five scatter points in the set.
Now there are only five unknown coefficients. The coefficients are found by fitting the quadratic to the nearest ''NQ'' data points using a weighted least squares approach. In order for the matrix equation used to solve for the coefficients to be stable, there should be at least five data points in the set.


====3D Interpolation====
====3D Interpolation====
Line 26: Line 26:
[[Image:quadnodef4.jpg]]
[[Image:quadnodef4.jpg]]


Now there are only nine unknown coefficients. The coefficients are found by fitting the quadratic to a subset of the neighboring scatter points in a weighted least squares fashion. In order for the matrix equation used to be solve for the coefficients to be stable, there should be at least ten non-coplanar scatter points in the set.
Now there are only nine unknown coefficients. The coefficients are found by fitting the quadratic to a subset of the neighboring data points in a weighted least squares fashion. In order for the matrix equation used to be solve for the coefficients to be stable, there should be at least ten non-coplanar data points in the set.





Revision as of 16:41, 23 July 2015

The nodal functions used in inverse distance weighted interpolation can be higher degree polynomial functions constrained to pass through the data points and approximate the nearby points in a least squares manner. Quadratic polynomials have been found to work well in many cases (Franke & Nielson 1980; Franke 1982). The resulting surface reproduces local variations implicit in the dataset, is smooth, and approximates the quadratic nodal functions near the data points. The equation used for the quadratic nodal function centered at point k is as follows:

To define the function, the six coefficients ak1..ak6 must be found. Since the function is centered at the point k and passes through point k, we know beforehand that ak1=fk where fk is the function value at point k. The equation simplifies to:

Quadnodef2.jpg

Now there are only five unknown coefficients. The coefficients are found by fitting the quadratic to the nearest NQ data points using a weighted least squares approach. In order for the matrix equation used to solve for the coefficients to be stable, there should be at least five data points in the set.

3D Interpolation

For 3D interpolation, the following equation is added to the quadratic nodal function:

Quadnodef3.jpg

To define the function, the ten coefficients ak1..ak10 must be found. Since the function is centered on point k, we know that ak1=fk where fk is the data value at point k. The equation simplifies to:

Quadnodef4.jpg

Now there are only nine unknown coefficients. The coefficients are found by fitting the quadratic to a subset of the neighboring data points in a weighted least squares fashion. In order for the matrix equation used to be solve for the coefficients to be stable, there should be at least ten non-coplanar data points in the set.