can anybody post matlab code for rectangular spiral shape?

3 vues (au cours des 30 derniers jours)
nageswara rao
nageswara rao le 19 Mar 2014
Commenté : nageswara rao le 24 Mar 2014
can anybody post matlab code rectangular spiral shape?

Réponse acceptée

David Sanchez
David Sanchez le 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 commentaire
nageswara rao
nageswara rao le 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...

Connectez-vous pour commenter.

Plus de réponses (1)

Margreet
Margreet le 19 Mar 2014
Modifié(e) : Margreet le 19 Mar 2014
There are many different types of spirals, is this what do you mean?

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by