Drawing a fractal in Matlab
3 views (last 30 days)
Show older comments
Please help!
I need to draw a square fractal (picture) in Matlab. The source shape is a square with side length R = 0. We get the first shape by drawing a square of side = R1 / 2 on each vertex. We get another shape by drawing a square with the side length R2 = R1 / 2 and so on. Each level must have a different color.

Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!