Akzeptierte Antwort

David Goodmanson
David Goodmanson am 29 Mär. 2017

1 Stimme

Hi jay, It looks like I is giving you the number of columns and J the number of rows. But i is your row index and j is your column index. So you have to reverse the definitions of I and J.

1 Kommentar

jay Florence
jay Florence am 29 Mär. 2017
Thank you so much this was the problem and it all works perfectly now!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by