I would like to get my data to be fit exponentially

1 次查看(过去 30 天)
A=[ 0.734 2.956 6.1775 1.385 1.79887 5.122 12.2774 5.1001 6.07515 10.232 20.3542 9.688 0.983 51.3152 7.42856 16.5368 6.44541 6.19359 7.7353 10.5964 5.5078 55.8428 4.35722 2.83427 1.88594 19.367 1.89 24.5355 30.6559 34.2349 7.1513 2.2275 30.2956 3.16718 18.1018];
B=[4039 1896 2961 3443 3020 1729 7097 1942 1956 2774 2787 2840 4313 1206 2204 2909 2454 2694 3224 2189 2686 2591 3210 3751 3321 1884 2780 1185 1358 1331 1960 3563 2483 4451 2589];
I plotted these with a scatter and noticed it was an exponential curve so I am trying to show the curve on the graph. I would like it to look something like this

回答(1 个)

Muhammad Usman Saleem

类别

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