Clear Filters
Clear Filters

2D Meshing of an Arbitrary Polygon in Matlab

3 views (last 30 days)
I am trying to create meshing for an arbitrary polygon; such as,
ConXloc0 = [0 0 13 13 28 28 100 100 27 27 120 120 0];
ConYloc0 = [0 -14 -14 -224 -224 -258 -258 -204 -204 -14 -14 0 0];
figure; plot(ConXloc0, ConYloc0);
What is the best way to create the mesh in matlab? I d also need the centroid of each mesh element and its area. It doesn't matter whether triangular or rectangular elements are used. I really appreciate your help.

Answers (0)

Categories

Find more on Elementary Polygons in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!