The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 NLSF - Circle
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Kalajian

USA
1 Posts

Posted - 08/11/2003 :  11:17:49 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I need to do a Leas Squares Fit to a circle. Can origin do this? I am having trouble finding informaion on what my equation should be. I figured the x is ind. the Y is dep. and the coordinates of the origin and the radius are my parameters. So I understand this correctly? How would I write the (x-a)^2+(y-b)^2=r^2 standard eqn. of a circle for this use?

Thank you
Jill Kalajian

easwar

USA
1965 Posts

Posted - 08/12/2003 :  10:37:28 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Jill,

You can turn the equation around and write it as
y = b +/- sqrt( r^2 - (x-a)^2)
But then for each value of x, there are two possible values of y and so cannot fit the entire circle simultaneously. You could only fit one half of the circle at a time, by picking the + or - sign for the two halves. Would that work for you?

Easwar
OriginLab.


Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000