Sierpinski Fractal Triangle

Bearable algorithm which provides a Sierpinski Fractal Triangle image.
1,3K téléchargements
Mise à jour 11 jan. 2018

Afficher la licence

This function provides a bearable algorithm for generating a fractal image, in particular, the Sierpinski Triangle. The function opens a new figure and plots the result for a given number of iterations, which must be greater or equal than 0. It should be taken into consideration that the more iterations, the more computation time.
Example of use:
sierpinski_triangle(6);

Citation pour cette source

Víctor Martínez-Cagigal (2024). Sierpinski Fractal Triangle (https://www.mathworks.com/matlabcentral/fileexchange/50417-sierpinski-fractal-triangle), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2014a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Fractals dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
2.0.0.0

2.0. Iteration 0 is also enabled and error detection has been implemented.

1.0.0.0