can anybody post matlab code for rectangular spiral shape?

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Elementary Math 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by