FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro-Support
Wissen
Community
Über Uns
Referenzen
Jobs
Allgemeiner Kontakt
Händlerverzeichnis
FlexPro-Support
DE
EN
FR
Placeholder
Produkte und Lösungen
Support und Downloads
Unternehmen
Magazin
Kontakt
Sprache
MyWeisang

Account Einstellungen

Topic

Fitting a circle

Startseite ' Community ' Allgemein ' Fitting a circle

Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #33709
    saeed farahany
    Teilnehmer

    Hi.
    I wanted to fitting a circle for my data. I didn’t find any non-linear curve fitting in Flexpro.8 for circle.
    I need to calculate radius of fitted circle.How can I do this?

    #33711
    saeed farahany
    Teilnehmer

    Hi.
    I wanted to fitting a circle for my data. I didn’t find any non-linear curve fitting in Flexpro.8 for circle.
    I need to calculate radius of fitted circle.How can I do this?

    #33710
    Bernhard Kantz
    Teilnehmer

    In this case you have to use your own user-defined function in the nonlinear curvefit analysis object.
    The circe function is (x-x0)^2+(y-y0)^2 = R^2
    For the upper half of the circle you could use the following FPScript function:
    [code]
    Dim x0 = p[0]
    Dim y0 = p[1]
    Dim R = p[2]
    Sqrt(R^2 – (x-x0)^2) + y0
    [/code]
    support@weisang.com

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