Problem 60984. Mesh the icosahedron

Problem statement
An icosahedron is a regular polyhedron with 12 vertices and 20 triangular faces. It is also one of the five well known platonic solids.
A triangulation, or triangulated mesh, is simply a N x 3 matrix of positive integers where each row contains the vertex indices of a triangle, and where N is the number of triangles.
Your task here is to mesh this icosahedron. To do so, you will list the triangles/rows in a matrix of triangles, T.
The row order of the triangles 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 triangles of the top cap and bottom cap, they are the easiest ones to identify here.
Forbidden functions / expressions
  • regexp
  • assignin
  • str2num
  • echo
See also

Solution Stats

61.54% Correct | 38.46% Incorrect
Last Solution submitted on Aug 19, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers8

Suggested Problems

More from this Author42

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!