accumarray error: Index into matrix must be positive
이전 댓글 표시
G=[0 1 ; 0 2 ; 1 2];
adj=accumarray(G,1,[],[],0,true);
error: Index into matrix must be positive.
채택된 답변
추가 답변 (2개)
Muhammad Usman Saleem
2016년 4월 4일
0 개 추천
Chad Greene
2016년 4월 4일
0 개 추천
The zeros in G are not positive.
카테고리
도움말 센터 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!