Create large array of zeros without MATLAB:arr​ay:SizeLim​itExceeded (perhaps on disc)

I want to create a rather large array of zeros, but run into a `MATLAB:array:SizeLimitExceeded` error as the generated array is too large.
zeros([2, 1350, 21, 2, 1350, 21]);
Is there some way to create the array directly to disc and then write to it there?
(After I am writing to the array, I will reshape and convert it to a sparse matrix.)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

제품

릴리스

R2021b

질문:

2022년 9월 14일

편집:

2022년 11월 22일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by