Subscript indices must either be real positive integers or logicals
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi
I have a (huge) matrix A which I have loaded in my workspace, which does contain numbers between -13.286 and 12.456 etc. Now upon applying X = corr(A) I get the following error:
>> Subscript indices must either be real positive integers or logicals
..what can I do?
댓글 수: 0
채택된 답변
Roger Stafford
2014년 6월 22일
Very likely you have a variable in your system called 'corr' which conflicts with the matlab function of the same name.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Numeric Types에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!