G=[0 1 ; 0 2 ; 1 2];adj=accumarray(G,1,[],[],0,true); error: Index into matrix must be positive.
MATLAB: Accumarray error: Index into matrix must be positive
accumarray
accumarray
G=[0 1 ; 0 2 ; 1 2];adj=accumarray(G,1,[],[],0,true); error: Index into matrix must be positive.
Best Answer