centroid edit page

calculates the barycenters of the grain boundary

Syntax

[x,y] = centroid(grains)