Creating Random Coordinates Inside a Fixed Points
Show older comments
Im asking for a random number generator inside an area like this;
Size of the rectange is 12 lengt 8 side,
for the circle the radius 2.
From that on I'm planning to create a mash area for my problem's further calculations.

2 Comments
darova
on 27 Sep 2019
YOu can use PDE toolbox to create a mesh and export it to MATLAB workspace
Fabio Freschi
on 27 Sep 2019
If you need to create a mesh outside the PDE environment you may have a look at
- mesh2d: https://it.mathworks.com/matlabcentral/fileexchange/25555-mesh2d-delaunay-based-unstructured-mesh-generation
- distmesh: https://popersson.github.io/distmesh/
Accepted Answer
More Answers (0)
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!