https://ch.mathworks.com/help/matlab/ref/triangulation.barycentrictocartesian.html
barycentricToCartesian - Convert coordinates from barycentric to Cartesian - MATLAB
This MATLAB function returns the Cartesian coordinates of the points in B relative to the triangulation object TR.
convertcoordinatescartesianmatlab