Star pattern using recursion (HELP)

I've been asked to write a code in a drawing software (very basic, commands like forward, turn, repeat, subtasks etc. ) in order for it to draw this pattern using recursion (see image file). However, I have no idea how to do this. Could someone help me out/give me a solution?

2 Comments

Gijs - what have you tried so far? Presumably your professor has given you some idea of where to start.
not at all, unfortunately, just had to figure out myself :( thanks for the response !

Sign in to comment.

Answers (0)

Categories

Find more on Fractals in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!