can anybody post matlab code for rectangular spiral shape?

3 Ansichten (letzte 30 Tage)
can anybody post matlab code rectangular spiral shape?

Akzeptierte Antwort

David Sanchez
David Sanchez am 19 Mär. 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 Kommentar
nageswara rao
nageswara rao am 24 Mär. 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...

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Margreet
Margreet am 19 Mär. 2014
Bearbeitet: Margreet am 19 Mär. 2014
There are many different types of spirals, is this what do you mean?

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by