can anybody post matlab code for rectangular spiral shape?

3 visualizaciones (últimos 30 días)
can anybody post matlab code rectangular spiral shape?

Respuesta aceptada

David Sanchez
David Sanchez el 19 de Mzo. de 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 comentario
nageswara rao
nageswara rao el 24 de Mzo. de 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...

Iniciar sesión para comentar.

Más respuestas (1)

Margreet
Margreet el 19 de Mzo. de 2014
Editada: Margreet el 19 de Mzo. de 2014
There are many different types of spirals, is this what do you mean?

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by