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 for Programming
 Forum for Origin C
 New Function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

aashahir

1 Posts

Posted - 08/05/2014 :  05:53:24 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hey everybody
does anybody know how to fit this function in origin:

Y=(A/(X-2875-iF))^2

where i is a complex number

Edited by - aashahir on 08/05/2014 05:54:14 AM

jasonzhao

China
262 Posts

Posted - 08/05/2014 :  11:08:14 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello Shahir,

For fitting complex function, we use Origin C to build a user defined function in Fitting Function Builder, please refer to this link for details: http://www.originlab.com/doc/Tutorials/Fitting-ComplexFunc

I guess your data is consist of X,F,Y1 and Y2 four columns, so you can also refer to the function body code below which has a similar form with your function.


complex x; //Independent Variables:
x.m_re=x1 ; //real part
x.m_im=x2 ; //image part
complex y; //Dependent Variables:
y= A/(x*x); //complex function
y1 = y.m_re; //real part
y2 = y.m_im; //image part

Best regards,
Jason Zhao
OriginLab Tech Service

Edited by - jasonzhao on 08/05/2014 11:10:39 PM
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