surface interpolations

SupportCommunity General surface interpolations

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #12559
    Matt Neilmatt neil
    Mitglied

    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.

    #8222
    Matt Neilmatt neil
    Mitglied

    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.

    #8903
    Bernhard KantzBernhard Kantz
    Moderator

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

    support@weisang.com

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.