Topic
surface interpolations
Startseite ' Community ' Allgemein ' surface interpolations
- Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 14 Jahren, 8 Monaten von matt neil aktualisiert.
-
AutorBeiträge
-
11.09.2010 um 00:23 Uhr #33735matt neilTeilnehmer
Does anyone know if there is a way to do a surface interpolation with an x, y, and z dataset other than the “Natural Neighbor” interpolation? I am wanting to try a polynomial fit with the end result of getting the coefficients for the equation of the resulting surface. Thank you.
11.09.2010 um 00:23 Uhr #33737matt neilTeilnehmerDoes anyone know if there is a way to do a surface interpolation with an x, y, and z dataset other than the “Natural Neighbor” interpolation? I am wanting to try a polynomial fit with the end result of getting the coefficients for the equation of the resulting surface. Thank you.
14.09.2010 um 00:42 Uhr #33736Bernhard KantzTeilnehmerIf you want to calculate the coefficients of a polynomial with 2 dependent variables, you can use the [b]NonLinCurveFit[/b]-function.
Example:
The dataset ‘Data’ is a space curve with a x-, y- and z-component.
Model function: y = p0 + p1 * x + p2 * z + p3 * x^2 + p4 * z^2FPScript code:
[code]
NonLinCurveFit(“p[0] + p[1] * d.[0] + p[2] * d.[1] + p[3] * d.[0]^2 + p[4] * d.[1]^2”, Data.y, {1,1,0,0,0}, , , , , , NLCF_OUTPUT_SOLUTION , , ,[[Data.Y, Data.Z]])
[/code]support@weisang.com[quote][/quote]
-
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.