フィルターのクリア

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

2 ビュー (過去 30 日間)
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.)

採用された回答

Walter Roberson
Walter Roberson 2022 年 9 月 14 日
編集済み: Walter Roberson 2022 年 11 月 22 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by