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

조회 수: 1 (최근 30일)
xingjian yang
xingjian yang 2016년 4월 14일
댓글: xingjian yang 2016년 4월 14일
Suppose I have a array of a(i), how do I draw this figure?

채택된 답변

Walter Roberson
Walter Roberson 2016년 4월 14일
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))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by