MATLAB Answers

can anybody post matlab code for rectangular spiral shape?

12 views (last 30 days)
can anybody post matlab code rectangular spiral shape?

  0 Comments

Sign in to comment.

Accepted Answer

David Sanchez
David Sanchez on 19 Mar 2014
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 Comment

nageswara rao
nageswara rao on 24 Mar 2014
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...

Sign in to comment.

More Answers (1)

Margreet
Margreet on 19 Mar 2014
Edited: Margreet on 19 Mar 2014
There are many different types of spirals, is this what do you mean?

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!