Create large array of zeros without MATLAB:array:SizeLimitExceeded (perhaps on disc)
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Fredrik P
il 14 Set 2022
Modificato: Walter Roberson
il 22 Nov 2022
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 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!