fractree.m

Draw fractal trees generated from a given angle, distance factor and 'number of branches'.

You are now following this Submission

Script to draw fractal trees generated from a given angle, distance factor and 'number of branches'.

'number of branches' - indicates how many child branches are born from each parent branch.

'angle' - determines how far each child branch leans away from its parent branch.

'distance factor' - specifies how much smaller child branches are compared to their parents.

Random trees can be generated by entering zero angle and/or distance factor and then inputting an integer seed value.

Cite As

Stephen Battey (2026). fractree.m (https://www.mathworks.com/matlabcentral/fileexchange/294-fractree-m), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Fractals in Help Center and MATLAB Answers

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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