how to curve fiting
1 view (last 30 days)
Show older comments
How can I enter data into a script to do curve fitting?
0 Comments
Answers (1)
KALYAN ACHARJYA
on 16 Dec 2020
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
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!