image thumbnail

Platonic solids

version 2.0 (75.3 KB) by Nicosahedron
Compute and display the five platonic solids, and return their vertex coordinates and face sets. Options include radius and display.

65 Downloads

Updated 04 Jul 2020

View License

Please first check the examples tab (doc) here on the right for a complete description.

Once downloaded, typewrite 'doc platonic_solids' or 'help platonic_solids' in Matlab console for support.

To change the display, just modify the call to plot_mesh subfunction (line ~250) according to your preferences and to LineSpec rules, or simply do it a posteriori.

Cite As

Nicosahedron (2022). Platonic solids (https://www.mathworks.com/matlabcentral/fileexchange/77446-platonic-solids), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!