Effacer les filtres
Effacer les filtres

creating a custom exponential fit

3 vues (au cours des 30 derniers jours)
Rhys
Rhys le 8 Juil 2013
%%%%% RESOLVED %%%%%
Hi Everyone,
I am working on creating a GUI for my lab to easily create graphics from raw data files. After plotting the data points with error bars I want to plot a special exponential fit with the data. I want to use the exponential fit I=C1*A*B^2*E^2*exp(-C2/(BE)), which is I (current) as a function of E (field strength) Everything else (C1,C2,A and B) are constants determined before the fitting will be done. How should I go about doing this?
Cheers,
Rhys
  2 commentaires
Matt J
Matt J le 8 Juil 2013
Modifié(e) : Matt J le 8 Juil 2013
Which part are you stuck on? How to perform the fit or how to display the plots?
And if C1,C2,A and B are already known, what unknown parameters are you determining from the fit?
Rhys
Rhys le 8 Juil 2013
I was stuck on the fit, but you are completely correct, I already have all of the parameters! I can just create a Vector for E and evaluate the expression for I! Thanks for your insight!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Execution Speed dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by