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 件のコメント

Geoff Hayes
Geoff Hayes 2018 年 7 月 4 日
Gijs - what have you tried so far? Presumably your professor has given you some idea of where to start.
Gijs van der Velden
Gijs van der Velden 2018 年 7 月 4 日
not at all, unfortunately, just had to figure out myself :( thanks for the response !

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeFractals についてさらに検索

質問済み:

2018 年 7 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by