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

1 view (last 30 days)
Suppose I have a array of a(i), how do I draw this figure?

Accepted Answer

Walter Roberson
Walter Roberson on 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))

More Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!