creating a custom exponential fit

조회 수: 4 (최근 30일)
Rhys
Rhys 2013년 7월 8일
%%%%% 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
Matt J
Matt J 2013년 7월 8일
편집: Matt J 2013년 7월 8일
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 2013년 7월 8일
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!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by