08-17-2015 11:08 AM
Has anyone seen any good examples of fitting to a circle?
To make things clear:
Given a set of x,y points, return the centre and radius of a circle which best fits the data.
Many Thanks
Solved! Go to Solution.
08-17-2015 11:11 AM
There's a VI called "Fitting on a Sphere VI" that can do what you want. You just need to use a value of zero for Z data points.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
08-17-2015 11:12 AM
Did you do a Web search? A number of algorithms are out there -- pick one that seems appropriate for your data set.
Bob Schor
08-17-2015 11:16 AM
Yea I did spot this and tried exactly what you said with no success. Then I looked again and realised I messed up. (Forgot about the displayed precision!)
.. yeah ...
Thanks though!
08-17-2015 11:17 AM
http://lmgtfy.com/?q=circle+fit+algorithms
Yea just trying to save some dev time!
08-17-2015 12:51 PM
@niNickC wrote:
http://lmgtfy.com/?q=circle+fit+algorithms
Yea just trying to save some dev time!
Since you are interested in a LabVIEW solution, a forum search here would have immediately found many example of James's suggestion above.