How can I use curve fitting tool as function?

1 visualización (últimos 30 días)
Riyadh Muttaleb
Riyadh Muttaleb el 5 de Abr. de 2019
Comentada: Riyadh Muttaleb el 5 de Abr. de 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

Respuesta aceptada

Riyadh Muttaleb
Riyadh Muttaleb el 5 de Abr. de 2019
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
Walter Roberson
Walter Roberson el 5 de Abr. de 2019
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 Interpolation en Help Center 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