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

 Respuesta aceptada

Riyadh Muttaleb
Riyadh Muttaleb el 5 de Abr. de 2019

0 votos

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

Más respuestas (1)

Walter Roberson
Walter Roberson el 5 de Abr. de 2019
results = fit([x2e(:), x1e(:)], ye(:), 'poly11');
coeffs(results)

2 comentarios

results = fit([x2e(:), x1e(:)], ye(:), 'poly11', 'Robust', 'LAR');
coeffs(results)
Riyadh Muttaleb
Riyadh Muttaleb el 5 de Abr. de 2019
Great! Thank you

Iniciar sesión para comentar.

Categorías

Más información sobre Linear and Nonlinear Regression en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by