How can I use curve fitting tool as function?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Riyadh Muttaleb
le 5 Avr 2019
Commenté : Riyadh Muttaleb
le 5 Avr 2019
Hi everyone,
I want to use Curve fitting tool as in the picture below as Matalb function.Which is function I have to use in the my code to get same result.
Thanks in advance,
Riyadh
![CFT.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/212081/CFT.jpeg)
0 commentaires
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 5 Avr 2019
results = fit([x2e(:), x1e(:)], ye(:), 'poly11');
coeffs(results)
2 commentaires
Walter Roberson
le 5 Avr 2019
results = fit([x2e(:), x1e(:)], ye(:), 'poly11', 'Robust', 'LAR');
coeffs(results)
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!