how can i draw this figure

1 visualización (últimos 30 días)
sandy jeak
sandy jeak el 19 de Dic. de 2015
Respondida: Star Strider el 19 de Dic. de 2015

Respuestas (1)

Star Strider
Star Strider el 19 de Dic. de 2015
One approach:
M = bsxfun(@times, [0 0 0 0; ones(24, 4)], [1 -1 1 -1]);
V = [M(:); 0];
plot(0:length(V)-1, V)
axis([0 101 -1.5 1.5])
grid

Categorías

Más información sobre Visual Exploration 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