Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Math Forum
»
Discussions
»
Software
»
comp.softsys.matlab
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
Fitting using an equation that contains an integration part??
Replies:
4
Last Post:
Jan 25, 2011 8:04 AM




Re: Fitting using an equation that contains an integration part??
Posted:
Jan 25, 2011 7:28 AM


Torsten Hennig <Torsten.Hennig@umsicht.fhg.de> wrote in message <1981347534.5321.1295947244714.JavaMail.root@gallium.mathforum.org>... > > > Hello: > > > I'm using a nonlinear function to fit the > > > experimental data. But the custom function > > contains > > > an integration part. > > > The function for example is; > > > I(T)=A.*quad(exp(A/T)). > > > T>Independent Variable, I>Response Variable, and > > A > > > is a fitting parameter. > > > > > > How can I write this code in the GUI m file???? > > > > int(exp(a/x) dx) = x exp(x/x)  a*expint(a/x) > > Sorry, should read > int(exp(a/x) dx) = x exp(a/x)  a*expint(a/x) > > > > > For expint look at > > http://www.mathworks.com/help/techdoc/ref/expint.html > > > > Best wishes > > Torsten.
Thank you very much. But what if the integral has a limited range ex; from To to Tf??



