sierpinski3D
Versión 1.0.1 (2,58 KB) por
Jens Jensen
Function that plots a 3-dimensional Sierpinski pyramid in a figure
Plot a 3-dimensional Sierpinski pyramid with n fractal divisions.
Input:
n - number of fractal divisions to plot, n=0 means plotting 1 pyramid
Output:
npyramids - number of pyramids drawn
layers - cell array containing a map of each layer that was drawn
Warning, plotting more than n = 6 divisions can be VERY heavy on the PC.
Citar como
Jens Jensen (2024). sierpinski3D (https://www.mathworks.com/matlabcentral/fileexchange/112295-sierpinski3d), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2022a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.