Exclude points in a surface fit with lsqcurvefit

2 vues (au cours des 30 derniers jours)
David
David le 6 Juin 2018
Commenté : Au. le 11 Nov 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

Réponse acceptée

David
David le 7 Juin 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 commentaire
Au.
Au. le 11 Nov 2020
that's very sad no one answered. It's an interesting thing to know :(

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by