필터 지우기
필터 지우기

Index exceeds matrix dimensions

조회 수: 1 (최근 30일)
Ahmed Hassaan
Ahmed Hassaan 2012년 4월 29일
I dont Understand this error , i traced all the code and didnt find a reason for that , thanks :)
??? Index exceeds matrix dimensions.
Error in ==> Hassaan at 314
[r c]=size(GREEN{1,i});

채택된 답변

the cyclist
the cyclist 2012년 4월 29일
Type
dbstop if error
before you run your code, and it should halt at this line when the error message is thrown. Then you can look at the values of your variables. Presumably, the value of i is such that it is trying to access an element of the variable GREEN that is beyond the bounds of the array.

추가 답변 (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