Respuesta aceptada

David Goodmanson
David Goodmanson el 29 de Mzo. de 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 comentario

jay Florence
jay Florence el 29 de Mzo. de 2017
Thank you so much this was the problem and it all works perfectly now!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Preguntada:

el 29 de Mzo. de 2017

Editada:

el 29 de Mzo. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by