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
 error function

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
VolkerPresser Posted - 09/29/2005 : 2:45:28 PM
Hi there,

I tried to fit an error function to data points. The erf has the form:

y = a - a * erf(x/b)

However, it looks like the built in nag_erf(x) term does not support a parameter inside the erf-term? Or am i mistaken?
Maybe someone can give me an advice to solve that problem.

Thank you for your help


Volker



Origin Version: 7.5
Operating System: winXP
2   L A T E S T    R E P L I E S    (Newest First)
VolkerPresser Posted - 09/29/2005 : 6:28:01 PM
Well thank you very much for your quick answer. I really don't know what exactly went wrong - because now it works just fine as it should. Maybe it was just one of these long days at work, when things go wrong...

So, anyhow... thanks
easwar Posted - 09/29/2005 : 3:24:16 PM
Hi Volker,

I tried this in 7.5SR5 and it worked fine for me. Note that you could use erf() or nag_erf(). The two are different in that the erf() function calls internal Origin function that has existed since before NAG was added. nag_erf() calls the NAG library. Both should yield same results.

So I created an FDF with the function
y = a - a * erf(x/b);
with Origin C turned on in NLSF. I could then simulate with the function to generate some data, and then fit that data with some changed parameters and I could retreive the values I used in the simulate dialog.

What exactly is the problem you are encountering?

Easwar
OriginLab



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