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

3 Ansichten (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)

Community Treasure Hunt

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

Start Hunting!

Translated by