필터 지우기
필터 지우기

How to taken values from big matrix ?

조회 수: 1 (최근 30일)
Stefano Alberti
Stefano Alberti 2016년 2월 19일
댓글: Guillaume 2016년 2월 24일
Hi, I've a many matrix inside a folder (about 10,000). Each matrix is 1500x1500. I wrote a code to open cyclically each file (with comand for), but now I want to create the 'history' for each cell. I try to explain better, I'd that for each for cycle, the each value inside a cell is stored at new matrix composed from 10,000x1, and write each value for each cell one below the other.
  댓글 수: 8
Jan
Jan 2016년 2월 24일
편집: Jan 2016년 2월 24일
So you want to import 10'000 files containing 1500x1500 matrices. Then you want to store all data in one file. Correct? How do you want to store the result? How do you want to write the bunch of matrices "one below the other"? As 15'000'000x1500 matrix? In wich order? Are you aware that such huge ASCII files are not useful, because ASCII-files are only though for the purpose, that they are readable by human. But nobody can read such a pile of values without getting mad. You are talking about files of 90 GB, when I assume 4 digits per value.
Guillaume
Guillaume 2016년 2월 24일
My understanding is that Stefano wants a file with 1500x1500 columns (2,250,000 columns!) and 10,000 lines.
While, yes, it is possible to create such a file, it's probably not a good idea. As has been pointed out, the file will be huge and impossible to import whole into memory.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Large Files and Big Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by