I am trying to solve a PDE on a regular mesh on the unit square. I found the regular mesh generator poimesh, which seems to do the job, but I cannot see how to create a geometry file for the unit square. So my question is:
How do I create a geometry file for the unit square in Matlab?
To create a unit square geometry, you can do the following
I realize this is not so easy to find. Have a look at examples and e.g., here