Risposta accettata

David Goodmanson
David Goodmanson il 29 Mar 2017

1 voto

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 Commento

jay Florence
jay Florence il 29 Mar 2017
Thank you so much this was the problem and it all works perfectly now!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by