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
 How to fit my 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
irenaldo Posted - 12/30/2008 : 12:55:30 PM
Hi,

I have a problem. I want to fit my data using my own function, but when I start the fit, appear this message:
"Your fitting function is not generating value". This is my equation:

y=(P1*exp(-(pi*x*4)/P2))/(1+(x/P2)^2), where P1, P2 and P2 are free parameters.

What´s the problem? What did I do wrong?
Can Anyone help me?
2   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 01/15/2009 : 11:28:21 AM
Since the equation looks fine, the message "Your fitting function is not generating value" is probably indicating you haven't given your parameters any values. All User-Defined functions must supply initial values for parameter before fitting.
If you don't have a good idea what the values should be like, just use
P1 = 1;
P2 = 2;
and use the Simplex method before using the Levenberg/Marquardt method.
Deanna Posted - 12/31/2008 : 01:29:23 AM
Hi Irenaldo,

The definition looks ok to me. We have to check other settings. Please send your FDF file (function definition file) to us and also tell us the version of Origin you are using.

Instructions to send files are available here:
http://www.originlab.com/index.aspx?s=1&lm=123&pid=752

Deanna
OriginLab Technical Services

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