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 a function consisting of two components
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

hydrix

Posts

Posted - 04/10/2007 :  11:41:39 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5
Operating System: XP
hi everyone,
id like to fit the function
y=((P2*P4+P1*P3)*x-0.5*(P2+P1)*x^2)+554.27, if x<P3
y=((P2*P4)*x-0.5*P2*x^2+0.5*P1*P3^2)+554.27, if P4>x>P3
to a set of data points.
can anyone tell me if this is possible and how this works?
thank you for help

zachary_origin

China
Posts

Posted - 04/10/2007 :  9:29:37 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
you need create a user-defined fitting function (if you are not familiar, seethis for help).

As for your function, it will be defined as something like (make sure the checkbox Use OriginC is checked):

if(x<P3)
y=...;
else if (P3<x && x<P4)
y=...;
else
y=...;


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