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

39 Solutions

24 Solvers

Last Solution submitted on Feb 09, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...