Exclude points in a surface fit with lsqcurvefit

2 visualizaciones (últimos 30 días)
David
David el 6 de Jun. de 2018
Comentada: Au. el 11 de Nov. de 2020
Hi,
Is it possible to exclude points in a 2-D fit when using the function lsqcurvefit?
If it is possible, what syntax could I use to achieve this?
Thanks, David

Respuesta aceptada

David
David el 7 de Jun. de 2018
If anyone is interested how I solved this: I used the "fit" function instead and created a weighting function where I weighted my excluded points with 0 and my non excluded points with 1.
I'm not sure now why I was using "lsqcurvefit" at all...
  1 comentario
Au.
Au. el 11 de Nov. de 2020
that's very sad no one answered. It's an interesting thing to know :(

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by