can anybody post matlab code for rectangular spiral shape?

3 ビュー (過去 30 日間)
nageswara rao
nageswara rao 2014 年 3 月 19 日
コメント済み: nageswara rao 2014 年 3 月 24 日
can anybody post matlab code rectangular spiral shape?

採用された回答

David Sanchez
David Sanchez 2014 年 3 月 19 日
x = [1 8 8 4 4 6 6 5];
y = [8 8 1 1 4 4 2 2];
plot(x,y)
axis([0 10 0 10])
  1 件のコメント
nageswara rao
nageswara rao 2014 年 3 月 24 日
can't we draw it for default values? like we enter some number or turns and starting point and giving some space between each of the turns which is equal...

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

その他の回答 (1 件)

Margreet
Margreet 2014 年 3 月 19 日
編集済み: Margreet 2014 年 3 月 19 日
There are many different types of spirals, is this what do you mean?

カテゴリ

Help Center および File ExchangeElementary Math についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by