How to plot a simple curve fitting in Matlab?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi
I'm trying to use Matlab curve fittings. I used X=[1,2,3] and Y=[3,4,5] as known data and the codes introduced below:
f=fit(X,Y,'poly2')
plot(f,X,Y)
But it doesn't work! How should I edit it?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interpolation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!