How can I use curve fitting tool as function?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Riyadh Muttaleb
il 5 Apr 2019
Commentato: Riyadh Muttaleb
il 5 Apr 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
0 Commenti
Risposta accettata
Più risposte (1)
Walter Roberson
il 5 Apr 2019
results = fit([x2e(:), x1e(:)], ye(:), 'poly11');
coeffs(results)
2 Commenti
Walter Roberson
il 5 Apr 2019
results = fit([x2e(:), x1e(:)], ye(:), 'poly11', 'Robust', 'LAR');
coeffs(results)
Vedere anche
Categorie
Scopri di più su Genetic Algorithm in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!