Aucune licence
The Sierpinski Sponge is a fractal image based on the Cantor Set. Cantor's fractal is based on a removing the middle third of a line segment, resulting in two new line segments of equal length. The middle third of these two segments is then removed, resulting in four new line segments.
The process is repeated to the desired level of iterations. The Sierpinski Carpet, a two-dimensional version of the Cantor Set, starts with a square. The Square is divided into nine equal sized squares and the middle square is removed for the first iteration. Then the remaining eight squares are each divided into nine squares, and the middle square is again removed for the second iteration.
The Sierpinski Sponge is the three-dimensional extrapolation of the carpet. The fractal image starts with a cube. The cube is then divided into twenty-seven equal sized cubes, and the center cube and the middle cube of each face is removed, leaving only the cubes on edges and corners. This is the first iteration. The process is applied to the remaining twenty cubes for the second iteration, and so on.
The Sierpinski Sponge is a fractal with some unique properties. Like the Sierpinski Gasket, as the level of iterations approaches infinity, the area of the sponge approaches zero, while the perimeter approaches infinity. This is because with each iteration new edges are added and volume is removed.
Citation pour cette source
Moses Boone (2024). Sierpinski Sponge (https://www.mathworks.com/matlabcentral/fileexchange/3524-sierpinski-sponge), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Mathematics > Fractals >
Tags
Remerciements
Inspiré par : ClassicalFractals.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |