필터 지우기
필터 지우기

Index in position 1 is invalid. Array indices must be positive integers or logical values. Error in Q (line 13) D(I,J) = D(I,J)+A(I,K).*B(K,J)

조회 수: 1 (최근 30일)
HI , how can i fix line 13?

답변 (1개)

David Fletcher
David Fletcher 2021년 4월 17일
In Matlab indices start at 1 (your loops start at 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