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
 All Forums
 Origin Forum
 Origin Forum
 Best-Fit-Circle

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
iggboert Posted - 10/28/2008 : 09:51:07 AM
Prog: Origin 8G SR1
OS: WinXP

Hello, I have some x/y-values and want to describe a geometric best-fit-circle in it. The curve looks nearly like a quarter circle.

I found lots of possibilities to make a linear fit (or NLFit). But i could not find any option to describe a best-fit-circle.

Is it anyhow possible to it? Or is it not possible with Origin?

Is it possible by writing a new function? If yes, please give me a hint.

Regards
iggboert from Erlangen/Germany
2   L A T E S T    R E P L I E S    (Newest First)
iggboert Posted - 11/07/2008 : 04:18:44 AM
Thanks a lot for helping me.
I successfully implemented the function.

Regards
liuxiaopi Posted - 10/31/2008 : 04:30:22 AM
If it is just one quarter of a circle: (x-xc)^2+(y-yc)^2=r^2, please try defining the following fitting function: y-yc= +/-sqrt(r^2-(x-xc)^2), where yc, xc, r are parameters. The sign +/- can be chosed according to your data, i.e: + for upper circle, - for lower circle. xc,yc can be set to zero or none if reasonable.

In case it is more like an ellipse: (x-xc)^2/a^2+(y-yc)^2/b^2=1, please try defining the following fitting function:
y-yc = +/-b*sqrt(1-(x-xc)^2/a^2). The sign can be chosed similarly.

Hope this helps

Jack

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000