Subscript indices must either be real positive integers or logicals.
이전 댓글 표시
I am getting this error in my code, went thru different explanations but everything went-above my head.Can anyone me guide in right direction.Thanks in advance.
댓글 수: 2
KAPIL MAMTANI
2015년 10월 30일
John D'Errico
2015년 10월 31일
Until I stepped through your code, I did not notice it either, although, in hindsight it is obvious. The important thing is to use that idea, to step through code to see what is happening, and what went wrong.
채택된 답변
추가 답변 (1개)
Image Analyst
2015년 10월 31일
0 개 추천
See the FAQ. I think it explains it pretty well: http://matlab.wikia.com/wiki/FAQ#How_do_I_fix_the_error_.22Subscript_indices_must_either_be_real_positive_integers_or_logicals..22.3F
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!