creating a custom exponential fit

2 views (last 30 days)
Rhys
Rhys on 8 Jul 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 Comments
Matt J
Matt J on 8 Jul 2013
Edited: Matt J on 8 Jul 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 on 8 Jul 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!

Sign in to comment.

Answers (0)

Categories

Find more on Execution Speed in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!