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

ouss

Algeria
4 Posts

Posted - 11/18/2014 :  1:01:50 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello Everyone !

My problem is how to create a new fit builder of this function ?

f(x)= [a0*(1-exp(-2(x/W)^2 ))+a1*(1-exp(-2x^2 )(1+4(x/W)^4))+a2*(1-exp(-2(x/W)^2 )(1+8(x/W)^4-8(x/W)^6+4(x/W)^8))]

I tried to create it but i think the problem is in the defining parameters.
The expression of the function is well compiled, if anyone of you could give me the instructions please !
Thank YOU !!

Hideo Fujii

USA
1582 Posts

Posted - 11/19/2014 :  10:32:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi ouss,

There are a few minor mistakes (e.g., cannot use [...], but (...) can be; need '*' for multiplication), and the following function form should work in the Fitting Function Builder tool:
Function Type: Origin C
Parameters: a0,a1,a2,W
Function body:
 y=(a0*(1.0-exp(-2.0*(x/W)^2 ))+a1*(1.0-exp(-2.0*x^2 )*(1.0+4.0*(x/W)^4))+a2*(1.0-exp(-2.0*(x/W)^2 )*(1.0+8.0*(x/W)^4-8.0*(x/W)^6+4.0*(x/W)^8)))
Hope this helps.

--Hideo Fujii
OriginLab
Go to Top of Page

ouss

Algeria
4 Posts

Posted - 11/22/2014 :  5:08:34 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello

thank you Fujii
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