Storing large matrix to file

4 ビュー (過去 30 日間)
Joppy
Joppy 2018 年 4 月 17 日
コメント済み: Joppy 2018 年 4 月 17 日
I need to store several 2000x1,000,000 matrices to a file. Is this feasible? I used the method outlined here and nearly crashed my computer (I can tell it's not an efficient way... but thought I'd try).
Do I need to partition the data and then rebuild it?
Thanks
  5 件のコメント
KSSV
KSSV 2018 年 4 月 17 日
Then you can write matrix row by row.....to a text file..or to a netcdf file. No worries...
Joppy
Joppy 2018 年 4 月 17 日
Turns out I couldn't average the data. I ended up using the save function, it's quite fast. I don't understand why we bother with fprintf.

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by