how to curve fiting

Answers (1)

There is no description about the question. So I considered it as a sample example
x=(1:20)'; % Example Make column data
y=log(x);
fit_data=fit(x,y,'poly2')
plot(fit_data,x,y);
More details, please see fit

Categories

Find more on Chemistry in Help Center and File Exchange

Asked:

on 15 Dec 2020

Answered:

on 16 Dec 2020

Community Treasure Hunt

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

Start Hunting!