Mesh Generation in MATLAB

Is there any subroutine in MATLAB that takes a list of points and returns me a nice grid that I can use to show my colleagues, for example, this?

alt text

In fact, all I need is just a simple 2D mesh generator that takes a series of X, Y coordinates (which defines the boundary of the region) and returns me a list of elements that can display this region well. I can do the rest using the MATLAB command to interpolate the Z value.

Edit: I'm not interested in using MATLAB to create the above plot. I am interested in using the MATLAB library to get a list of elements, so when I create this element myself (not MATLAB itself, but in my own C # program), I can get this mesh surface.

PS: I know this is DistMesh , but I'm looking for something simpler - maybe something built right into MATLAB. And no, meshgrid is not grid generation.

+3
source share
5 answers
+1

, " gridfit - , , /, griddata,

+1

, Delaunay + Stiner Points? MATLAB Delaunay.

0

If your surface is in the form z = f (x, y), you can use:

http://www.advancedmcode.org/how-to-plot-a-coloured-surface-from-3d-scatter.html

If your surface is concave, pay attention to the reconstruction of the surface on the same site.

0
source

Source: https://habr.com/ru/post/1722086/


All Articles