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 个评论

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 !

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Fractals 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by