필터 지우기
필터 지우기

how to solve 'Index exceeds the number of array elements (1)'?

조회 수: 1 (최근 30일)
Heya :)
Heya :) 2020년 5월 7일
편집: Heya :) 2020년 10월 15일
[MATLAB is showing this error "Index exceeds the number of array elements (1)

채택된 답변

Akihumi
Akihumi 2020년 5월 7일
Your x and y are single value, so it will have error when i==2.
You can make use of 'Pause on Errors' under the drop down menu of Run to analyse what's going wrong with the variables.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by