Delaunay Triangulation with a hole in the domain
13 views (last 30 days)
Show older comments
Hi everyone,
I did some temperature measurments on a rectangular plate with a hole in the middle. The matrix with the temperature measurements is therefore of the following form (The indices of the matrix elements are proportional to the spatial coordinates of the measurement positions). 'a' represents some temperature value. '0' means that no temperature was recorded at this spatial point:
- 0000000000000
- 00aaaaaaaaa00
- 00aaaaaaaaa00
- 00aaa000aaa00
- 00aa00000aa00
- 00aaa000aaa00
- 00aaaaaaaaa00
- 00aaaaaaaaa00
- 0000000000000
I would like to create a mesh of the 'a' entries omitting the '0' entries - using Delaunay triangulation - without the hole in the middle and the margins (the zero entries of the matrix). The mesh should represnt the shape of the plate, which should like this in the end:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194126/image.png)
Can someone pls suggest a solution or share his/her ideas with me, that would be nice. Thanks
0 Comments
Answers (1)
Bruno Luong
on 8 Nov 2018
Edited: Bruno Luong
on 8 Nov 2018
6 Comments
Bruno Luong
on 8 Nov 2018
Edited: Bruno Luong
on 8 Nov 2018
Look at the code corresponds to
> tridemo(8)
that does much more than what you asked.
See Also
Categories
Find more on Delaunay Triangulation 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!