Sierpinski Fractal Triangle

Bearable algorithm which provides a Sierpinski Fractal Triangle image.
1.3K 次下载
更新时间 2018/1/11

查看许可证

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);

引用格式

Víctor Martínez-Cagigal (2024). Sierpinski Fractal Triangle (https://www.mathworks.com/matlabcentral/fileexchange/50417-sierpinski-fractal-triangle), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Fractals 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
2.0.0.0

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

1.0.0.0