Problem 60985. Mesh the dodecahedron
Problem statement
An dodecahedron is a regular polyhedron with 20 vertices and 12 pentagonal faces. It is also one of the five well known platonic solids. 
A pentagonal mesh is simply a N x 5 matrix of positive integers where each row contains the vertex indices of a pentagonal face, and where N is the number of faces / pentagons. 
Your task here is to mesh this octahedron. To do so, you will list the pentagons/rows in a matrix of faces, F.
The row order of the faces in the list doesn't matter.
Tip
- Vertex indices are written on the figure below; use it to help you visualize;
 - You can start with the top [1 2 3 4 5] and bottom pentagons, they are the easiest ones to identify here.
 
Forbidden functions / expressions
- regexp
 - assignin
 - str2num
 - echo
 
See also
Solution Stats
Problem Comments
- 
		1 Comment
 
		Nicolas Douillet
    	on 24 Jul 2025
	
	
  	To visualize and check your result -like on the figure included-, you can do for instance :
for n = 1:size(F,1)
fill3(V(F(n,:),1),V(F(n,:),2),V(F(n,:),3),[0 1 1]), hold on;
end
axis equal;
alpha(0.5);
Solution Comments
Show commentsProblem Recent Solvers19
Suggested Problems
- 
         
         
19 Solvers
 
More from this Author42
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!