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
 fitting data with: f(y)=f(y)/x*R1, best R1 value
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

javiers

Spain
6 Posts

Posted - 11/17/2008 :  10:57:06 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi colleagues,

I am trying to fit some data to an equation like:

g(y) = f(y)/(-x*R1)


I have a worksheet X Y. once is plotted It corresponds to f(y) I want to fit that f(y) function to a g(y) function and find R1 that gives the best fit.

any idea, comment will be welcomed.


thanks

liuxiaopi

China
Posts

Posted - 11/19/2008 :  01:37:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, Javiers,
I can not quite understand your question.
I try to summarize your fitting case as follows:

You have X Y data (your worksheet data):
x f(x)
.. ..
.. ..

You try to fit these data into the following model function:
f(x)/(-x*R1). (Note that the x variable.).

If f(x) is explicitly known, then you can just supply fitted function f(x)/(-x*R1).



However, if your case is as follows:
your data:
x y=f(x)
.. ..
.. ..


f(x) is not explicitly known.
And in fact you want to fit the measured data x and y into an equation g(x,y, R1)=const to obtain best fitted parameters R1. Then this is another issue, or in fact the so-called implicit function fitting.

Thanks,

Jack

Edited by - liuxiaopi on 11/19/2008 01:41:30 AM
Go to Top of Page

javiers

Spain
6 Posts

Posted - 11/19/2008 :  03:28:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi liuxiaopi,

thanks a lot for reading and for your comments. As you said, I am in the second case the function is not explicitly known. So it would be great if you could give me some advice about implicit function fitting.


Thanks for your help

Javier
Go to Top of Page

liuxiaopi

China
Posts

Posted - 11/21/2008 :  04:26:16 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, Javiers,

Currently, Originlab 8.0 still can not support implicit function fitting. A further version of originlab is considering adding this feature.


There is a temp solution:

For example to fit an ellipse x^2 / a^2 + y^2 / b^2 = 1,
x, y is your measured data.

The temp solution is :

1) Define two independant variables: (x,y)
2) Define a fitting function x2 / a2 + y2 / b2 - 1
3) Supply dependant variable data: all zero

As we supply dependant data manually, I doubt if this way of fitting can produce meaning-ful or reliable result. Although, I do obtain reasonable fitted result on an ellipse with noise.


Please check more on google.... for implicit function fitting.


Hope this helps,



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