Changing my image to logical or positive

조회 수: 1 (최근 30일)
Fish Out Of Water :D
Fish Out Of Water :D 2011년 10월 17일
??? Attempted to access im3(217,0); index must be a positive integer or logical.
Can anyone teach me how to change my im3 to logical?

채택된 답변

Jan
Jan 2011년 10월 17일
You do not have to change the picture, but the index - as the error message explains. Indicies start at 1 in MATLAB, such that "im3(217, 0)" is not valid. I guess that "im3(218, 1)" solves your problem.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by