Regular polyhedron inscribed sphere
Version 1.0.1 (155 KB) by
Nicolas Douillet
Function to compute and display the inscribed sphere of a regular polyhedron.
Please first check the examples tab (.mlx doc) here on the right for a complete description.
Once downloaded, typewrite 'doc regular_polyhedron_insphere' or 'help regular_polyhedron_insphere' in Matlab console for support.
To benefit from the file documentation attached, be sure to download the file, not to just copy and paste it.
Only works for regular polyhedron of the 3D space (the five platonic solids actually).
To create and custom your own platonic solid (face type, radius, centre), see the function :
Please don't forget to rate this code if it helped you. Thanks ;-)
Cite As
Nicolas Douillet (2024). Regular polyhedron inscribed sphere (https://github.com/NicolasDouillet/regular_polyhedron_insphere/releases/tag/v1.0.1), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2019b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.1 | See release notes for this release on GitHub: https://github.com/NicolasDouillet/regular_polyhedron_insphere/releases/tag/v1.0.1 |
||
1.0 |
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.