Restriction when indexing large arrays
이전 댓글 표시
Hi there, on 64bit platforms: why does matlab only allow 48bit integers for indexing arrays / creating (sparse)matrices, while on 32bit platforms 31bit indices are allowed?
Quote from "doc sparse": [...] S = sparse(i,j,s,m,n,nzmax) [...] Note: If any value in i or j is larger than 2^31-1 for 32-bit platforms, or 2^48-1 on 64-bit platforms, then the sparse matrix cannot be constructed. Quote end
Any hint is appreciated!
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!