-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Home > Community > General > Fitting a circle > Reply To: Fitting a circle
January 10, 2011 at 6:24 pm
#8895
Bernhard Kantz
Participant
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:
Dim x0 = p[0]
Dim y0 = p[1]
Dim R = p[2]
Sqrt(R^2 - (x-x0)^2) + y0