I need to generate a sequence of increasingly denser high-quality triangular meshes for some pentagons in MATLAB. I want to supply as my input The coordinates of the 5 vertices of the pentagon The desired (approximate) mesh-node spacing or the number of mesh-faces in the output mesh. The output should be A high-quality meshThe list of points on the mesh-boundary (ie the boundary of the pentagon)Are there any softwares to do this, preferably in MATLAB or elsewhere? 
Meshing of polygons
matlab;computational geometry;mesh