Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Plotting without Specifying a set x range

조회 수: 2 (최근 30일)
Calvin Chang
Calvin Chang 2019년 6월 24일
마감: Guillaume 2019년 6월 24일
The following code should work. Why doesn't it work? How can I make this work?
x=[0 1 2 3 4];
y=[2 9/4 38/17 161/72 682/305];
plot(x,y)
Index in position 1 is invalid. Array indices must be positive integers or logical values.
Error in test (line 4)
plot(x,y)

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by