필터 지우기
필터 지우기

Storing large matrix to file

조회 수: 3 (최근 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 CenterFile Exchange에서 NetCDF에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by