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 errorfunction to data
 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 :  12:03:42 PM  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;
is it possible to fit the errorfunction (something like y=P1*(1-erf(x/P2)) where P1 and P2 are the fitting parameters) to a dataset?
and if yes how?
thank you

Mike Buess

USA
3037 Posts

Posted - 04/10/2007 :  12:27:27 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
See this topic on fitting with error function...
http://www.originlab.com/forum/topic.asp?TOPIC_ID=4326

See Help > Tutorials > Tutorial 11 for instructions on how to create a fitting function.

Mike Buess
Origin WebRing Member
Go to Top of Page

hydrix

Posts

Posted - 04/11/2007 :  06:08:27 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:

See this topic on fitting with error function...
http://www.originlab.com/forum/topic.asp?TOPIC_ID=4326

See Help > Tutorials > Tutorial 11 for instructions on how to create a fitting function.

Mike Buess
Origin WebRing Member



hello,
i tried as you said , but when i compile the origin c file the reply is:
C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\OriginLab\Origin75E\User Files\OriginC\NLSF\_nlferf.fit(40) :Error, function or variable erf not found
nag_erf does not work too.
so where do i find the nag_erf programme ?
thanks
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 04/11/2007 :  08:12:47 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Try to compile the function below. If it does not compile then you need to update your Origin 7.5. (Latest version is SR6.) If it does compile then you are using erf or nag_erf incorrectly in your fitting function.

void test_erf(double x)
{
out_double("erf(x)=",erf(x));
out_double("nag_erf(x)=",nag_erf(x));
}

Mike Buess
Origin WebRing Member
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