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
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

hassan2020

Morocco
6 Posts

Posted - 01/31/2009 :  11:54:11 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi
I'm a biginner in origin.
can you please to show me how to fit this function in originC
y=sum(P1*exp(x)/k +P2*x**2) with k=1,1000
thanks

Deanna

China
Posts

Posted - 02/01/2009 :  04:12:31 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Hassan,

We are very happy to help you. But, please tell us what do you mean by "sum()"? In "P2*x**2", the "**" just means "*", right?

Deanna
OriginLab Technical Services
Go to Top of Page

hassan2020

Morocco
6 Posts

Posted - 02/01/2009 :  06:15:54 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi
y=sum(P1*exp(x)/k +P2*x^2) with k=1,1000
means
y=(P1*exp(x)/1 +P2*x^2)+(P1*exp(x)/2 +P2*x^2)+(P1*exp(x)/3+P2*x^2)+..

thanks
Go to Top of Page

Deanna

China
Posts

Posted - 02/02/2009 :  01:55:01 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
With a little bit transformation, your equation can be rewritten as (please correct me if I am wrong):


This is actually a simple equation. There are two parameters, P1 and P2. The equation written in Origin C can be:
y=1000*P2*x^2+7.4854708605503*P1*exp(x)

Here is an example of defining a fitting funciton with Origin C:
User Defined Fitting Function using Origin C

If you are still not sure how to define your function, please contact us again.


Deanna
OriginLab Technical Services
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