how to curve fiting
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
How can I enter data into a script to do curve fitting?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/462245/image.png)
0 Commenti
Risposte (1)
KALYAN ACHARJYA
il 16 Dic 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 Commenti
Vedere anche
Categorie
Scopri di più su Get Started with Curve Fitting Toolbox in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!