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 vue (au cours des 30 derniers jours)
HI , how can i fix line 13?

Réponses (1)

David Fletcher
David Fletcher le 17 Avr 2021
In Matlab indices start at 1 (your loops start at 0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by