MATLAB Answers

Need help fitting given data to an exponential function

1 view (last 30 days)
Afreen Gillani
Afreen Gillani on 12 Sep 2020
Answered: the cyclist on 13 Sep 2020
Hello everyone,
I have tried to google or read other answers, but I am still confused on how to move forward with fitting the data to an exponential function.

  1 Comment

Walter Roberson
Walter Roberson on 12 Sep 2020
Do you have the curve fitting toolbox? If so have you tried the cftool ?

Sign in to comment.

Answers (1)

the cyclist
the cyclist on 13 Sep 2020
If you have the Statistics and Machine Learning Toolbox, you might be able to use the expfit function.
If not, and you don't have the Curve Fitting Toolbox either (as Walter suggested), it is possible that you can perform a logarithmic transformation on your data, and use base MATLAB to do a linear fit.
If you upload your data in a *.mat file, we may be able to help more.


Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by