# calculate the area of the surface formed by the points having coordinates [xd, yd]??

2 vues (au cours des 30 derniers jours)
amal Mbarki le 2 Mai 2014
Commenté : José-Luis le 8 Mai 2014
first,i used 'polybool' to determine the overlap between plusieurs ellipses
i=1;
while i<n
for j=i+1:n
t=(0:pi/20:2*pi);
x1=G(i,3)*cos(t);
y1=G(i,4)*sin(t);
x2=G(j,3)*cos(t);
y2=G(j,4)*sin(t);
[xd, yd] = polybool('intesection', x1, y1, x2, y2,'vector');
end
i=i+1;
end
now i want to calculate the area of the surface formed by the points having coordinates [xd, yd],how can i do it??
##### 0 commentairesAfficher -2 commentaires plus anciensMasquer -2 commentaires plus anciens

Connectez-vous pour commenter.

### Réponse acceptée

Friedrich le 2 Mai 2014
Modifié(e) : Friedrich le 2 Mai 2014
Hi,
you could do a Delauny Triangulation using the delaunay function and then calculate and sum up the area of each triangle. This should work as long your surface is one connected area. Or in the case the area of the convex hull is okay for your use polyarea.
##### 6 commentairesAfficher 4 commentaires plus anciensMasquer 4 commentaires plus anciens
amal Mbarki le 8 Mai 2014
thank you very much,it's really very helpful
José-Luis le 8 Mai 2014

Connectez-vous pour commenter.

### Catégories

En savoir plus sur Delaunay Triangulation 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