How to draw a figure with x axis of a(i) and y axis of a(i+1)?

1 Ansicht (letzte 30 Tage)
Suppose I have a array of a(i), how do I draw this figure?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 14 Apr. 2016
plot(a(i), a(i+1))
You will not see much unless your i is a vector of values.
Perhaps what you want to ask about is
plot(a(1:2:end), a(2:2:end))

Weitere Antworten (0)

Kategorien

Mehr zu Graphics Object Programming 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