-
FlexPro
- Auf einen Blick
- Features & Optionen
- Einsatzgebiete
- Alle Vorteile
- Neu in FlexPro 2021
- FlexPro gratis testen
- FlexPro View OEM Freeware
- Kaufberatung
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produkte
- News
- Support
- Unternehmen
- Jobs
- Kontakt
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Home > Community > General > surface interpolations > Antwort auf: surface interpolations
September 14, 2010 um 12:42 am Uhr
#8903

Teilnehmer
If you want to calculate the coefficients of a polynomial with 2 dependent variables, you can use the NonLinCurveFit-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^2
FPScript 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]])