채택된 답변

Sean de Wolski
Sean de Wolski 2011년 5월 25일

1 개 추천

MATLAB indexing starts at 1.
y(1) = 0;

추가 답변 (1개)

Walter Roberson
Walter Roberson 2011년 5월 25일

0 개 추천

If you really must index at 0, then you will need to write a custom array class with your own subsref()

카테고리

도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by