Topic
Fitting a circle
Startseite ' Community ' Allgemein ' Fitting a circle
- Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 14 Jahren, 4 Monaten von saeed farahany aktualisiert.
Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
-
AutorBeiträge
-
08.01.2011 um 17:36 Uhr #33709saeed farahanyTeilnehmer
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?08.01.2011 um 17:36 Uhr #33711saeed farahanyTeilnehmerHi.
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?10.01.2011 um 18:24 Uhr #33710Bernhard KantzTeilnehmerIn 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 -
AutorBeiträge
Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.