Why doesn't plot show desired values from my array?

Row array aVals(1 : 10) contains pi for each value.
plot(aVals(1:10)
gives the expected result:
plot(aVals(5:10)
fails to plot some of the data:
what't wrong? how do I fix that?

답변 (1개)

Emma
Emma 2013년 4월 17일

0 개 추천

Sorry, I figured it out.
plot(5:10, aVals(5:10)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

질문:

2013년 4월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by