채택된 답변

David Goodmanson
David Goodmanson 2017년 3월 29일

1 개 추천

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

jay Florence
jay Florence 2017년 3월 29일
Thank you so much this was the problem and it all works perfectly now!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

질문:

2017년 3월 29일

편집:

2017년 3월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by