FUNCTION REFERENCE

bucky

Return the graph and vertices of a truncated icosahedron (soccer ball).

Return the graph and vertices of a truncated icosahedron (soccer ball).

Syntax

B = bucky; [B, V] = bucky

B is the symmetric 60-by-60 sparse adjacency matrix: every vertex has three neighbours, 90 edges in all. V holds the 60 vertex coordinates on the unit sphere, one row each. The polyhedron is a regular icosahedron with each vertex cut off at one third of its edges, so all edges have the same length.

Example

[B, V] = bucky; size(V)   % [60 3]

Example

nnz(bucky)   % 180

Differences from MATLAB: The vertex numbering and orientation are MatRust's own; the graph and shape are the same polyhedron.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.