how can i draw this figure

1 Ansicht (letzte 30 Tage)
sandy jeak
sandy jeak am 19 Dez. 2015
Beantwortet: Star Strider am 19 Dez. 2015

Antworten (1)

Star Strider
Star Strider am 19 Dez. 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

Kategorien

Mehr zu Visual Exploration 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