How can I use curve fitting tool as function?

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

 Akzeptierte Antwort

Riyadh Muttaleb
Riyadh Muttaleb am 5 Apr. 2019

0 Stimmen

Thank you for your answer, Does this function include Robust LAR?

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 5 Apr. 2019

0 Stimmen

results = fit([x2e(:), x1e(:)], ye(:), 'poly11');
coeffs(results)

2 Kommentare

results = fit([x2e(:), x1e(:)], ye(:), 'poly11', 'Robust', 'LAR');
coeffs(results)
Great! Thank you

Melden Sie sich an, um zu kommentieren.

Kategorien

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by