Trying to find out when a curve becomes exponential
Show older comments
Greetings,
I have a dataset from simulations of curves which I want to find out when this curve becomes exponential or when its not.
I am using the fact that an exponential curve is liner in a semi-log plot. So, I plot the curve as log(y)-x, determine the R2 using polyfit...but thats the problem. When can you say that the curve is not linear anymore?
I have values that are for example, R2 =
0.9997
1.0000
0.9989
0.9956
0.9346
0.9572
I just don't know based on this how to determine when the log(y)-x curve stops being linear so that the y-x plot is exponential.
Any good idea of how you can determine this in MATLAB?
Accepted Answer
More Answers (0)
Categories
Find more on Line Plots 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!