File Exchange

image thumbnail

Sierpinski octahedron

version 2.1 (39.4 KB) by Nicolas Douillet
A function to compute displays and save the Sierpinski octahedron fractal, at any iteration number / depth level.

3 Downloads

Updated 26 Aug 2020

View Version History

View License

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

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

Cite As

Nicolas Douillet (2020). Sierpinski octahedron (https://www.mathworks.com/matlabcentral/fileexchange/79152-sierpinski-octahedron), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Nicolas Douillet

Default maximum number of iterations (nb_max_it) set to 7. Increase it line 92. Color rendering used for this cover image is radius based, i.e. by computing each vertex distance to the origin : C = sqrt(sum(V.^2,2));
trisurf(T,V(:,1),V(:,2),V(:,3),C); colormap('hot');

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!