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
 NL fit with user defined eqn

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
ks0297 Posted - 09/15/2013 : 12:34:08 AM
Origin Ver. 8.0 pro SR6, and Service Release (Select Help-->About Origin):
Operating System:win7

I typed following eqn to use as user defined and find the 6 unknown parameters,(a,c,h,b,f,g)
y =(((a*c*exp(-(h*x)^0.5)*h^0.5*x^(3/2))+(b*f*exp(-(g*x)^0.25)*g^0.25*x^(5/4)))/((h*exp(-(h*x)^0.5)+(f*exp(-(g*x)^0.25))

Error msg:
:Error, mismatching usage of parentheses Compile Failed!

Please help to fit my function as the user defined.
Thanks
KS


KS
5   L A T E S T    R E P L I E S    (Newest First)
easwar Posted - 09/20/2013 : 5:28:23 PM
Hi KS,

Just giving us parameters won't work, without the data.
Please send your data and your FDF (fitting function) to tech support. You can use the link "Send File to Tech support" on the top right of this page, then refer to this post in your e-mail.

Easwar
OriginLab
ks0297 Posted - 09/20/2013 : 2:19:21 PM
in the equation I typed, following are the parameters for guess values:
a=1.1; c=1E-4;h=1E4; b=0.215; f= 1E4; g=2E8
quote:
Originally posted by easwar

Hi KS,

With these many parameters, it is possible your function is over-parameterized, so the iterative procedure cannot find a unique set of values for all parameters. Try specifying bounds on some of the parameters, if you know what the parameter value roughly ought to be.

Easwar
OriginLab




KS
easwar Posted - 09/20/2013 : 09:12:31 AM
Hi KS,

With these many parameters, it is possible your function is over-parameterized, so the iterative procedure cannot find a unique set of values for all parameters. Try specifying bounds on some of the parameters, if you know what the parameter value roughly ought to be.

Easwar
OriginLab
ks0297 Posted - 09/16/2013 : 3:21:20 PM
yes the bracet is adjusted,and it compiles, but my function do not converge. any idea?
Thanks

KS
SimpleSimonSays Posted - 09/15/2013 : 07:55:31 AM
As the error message said you are missing a closing bracket - there is one more opening one than closing brackets.

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