How can I use curve fitting tool as function?

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Riyadh Muttaleb
Riyadh Muttaleb il 5 Apr 2019
Thank you for your answer, Does this function include Robust LAR?

Più risposte (1)

Walter Roberson
Walter Roberson il 5 Apr 2019
results = fit([x2e(:), x1e(:)], ye(:), 'poly11');
coeffs(results)
  2 Commenti
Walter Roberson
Walter Roberson il 5 Apr 2019
results = fit([x2e(:), x1e(:)], ye(:), 'poly11', 'Robust', 'LAR');
coeffs(results)

Accedi per commentare.

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by