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
 All Forums
 Origin Forum
 Origin Forum
 fitting errorfunction to data

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
hydrix Posted - 04/10/2007 : 12:03:42 PM
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
3   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 04/11/2007 : 08:12:47 AM
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
hydrix Posted - 04/11/2007 : 06:08:27 AM
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
Mike Buess Posted - 04/10/2007 : 12:27:27 PM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000