Pythagoras tree

This function generates Pythagoras tree and exports the plot to SVG file.

You are now following this Submission

The Pythagoras Tree is a plane fractal constructed from squares. It is named after Pythagoras because each triple of touching squares encloses a right triangle, in a configuration traditionally used to depict the Pythagorean theorem.

Cite As

Guillaume JACQUENOT (2026). Pythagoras tree (https://www.mathworks.com/matlabcentral/fileexchange/26816-pythagoras-tree), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Fractals in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0