FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder
Products and Solutions
Support and Downloads
Company
Magazine
Contact Us
Language
MyWeisang

Account settings

Topic

surface interpolations

Home page Community General surface interpolations

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33735
    matt neil
    Participant

    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.

    #33737
    matt neil
    Participant

    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.

    #33736
    Bernhard Kantz
    Participant

    If 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^2

    FPScript 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]

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.