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



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??



