When do we get the below error in Matlab?

 채택된 답변

per isakson
per isakson 2022년 3월 28일
편집: per isakson 2022년 3월 28일

1 개 추천

Example
A = 17; % A is a scalar
A(2) % there is no element with index 2
Index exceeds the number of array elements. Index must not exceed 1.

추가 답변 (0개)

카테고리

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

태그

질문:

2022년 3월 28일

편집:

2022년 3월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by