Effacer les filtres
Effacer les filtres

How to make 2D boundary follow the data ?

1 vue (au cours des 30 derniers jours)
Faez Alkadi
Faez Alkadi le 8 Sep 2017
Commenté : Faez Alkadi le 8 Sep 2017
I have this data set (attached). I tried to find the boundary for it but the boundary doesn't follow outer data points exactly (as shown) especially at the corners. Though I tried to change shrink factor(s). Hope you can help me figure that out.
Thank you
s=1; %shrink factor
k = boundary(x,y,1);

Réponse acceptée

Image Analyst
Image Analyst le 8 Sep 2017
Try different shrink factors, the third argument. Try something between 0.1 and 0.9 until you find one that "hugs" your point set the best.
  1 commentaire
Faez Alkadi
Faez Alkadi le 8 Sep 2017
I did that before, but still doesn't work. Hope you try it with the data i have attached and see. Thank you

Connectez-vous pour commenter.

Plus de réponses (0)


En savoir plus sur Linear Algebra dans Help Center et File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by