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
 Defined fitting function does not work well

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
bitalien Posted - 03/10/2014 : 09:29:31 AM
Hi,

i need an defined fitting function to make a fitting curve for some data,and i created the function by User Defined Function Organizer,and the function like "y=A/sqrt(x)*(1-exp(-B*x^2))",A and B are parameters.
But the function seems working badly,and the fitting curve does not match the original curve.Where am i wrong?Please give some tips I would be very grateful.

Thanks guys.

5   L A T E S T    R E P L I E S    (Newest First)
bitalien Posted - 03/11/2014 : 10:26:36 PM
Thanks a lot!

The problem has been solved.
lkb0221 Posted - 03/11/2014 : 10:00:59 AM
Hi,

It's obvious that your curve does not match the function, at least not all of it. So I masked part of the curve to do a partial fit, here is the result (green part of the line is what I masked):


The fitting is functional, but you can see the curve is still not a prefect match. Maybe that's because you have some other elements that effected your experiments?

Zheng
OriginLab
bitalien Posted - 03/11/2014 : 02:34:48 AM
Thank you firstly!

I am sorry for my mistake,but the function in the graph is what i needed,i put a wrong picture to explain it.
Actually,i want to fit the curve by using an equation in the attached picture,and the result should be like the subsequent graph.As you see,t is the variable,I is the dependent variable,and the others are parameters.
I tried to edit a simple function to fit it,but the function did not work well,i also tried to adjust some parameters,but i failed!So what should i do to alter the fitting curve's shape,particularly shift the peak's horizontal position of the fitting curve,making it fit the original curve?Should i add another parameters?Or change the function?



lkb0221 Posted - 03/10/2014 : 11:37:15 AM
Hi,

So what is your function exactly?
Looks like you have three versions of the function (the forum text, the Fitting Function Organizer and the fitting result table in the graph).
I tried all three of them, none of which can recreate the shape (curve go up after 3).
So I guess you need to find the correct function first.

Zheng
OriginLab
bitalien Posted - 03/10/2014 : 09:31:35 AM

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