How can i handle a large amount of data (near about 16*10^10).

조회 수: 3 (최근 30일)
Abhishek mani  Shukla
Abhishek mani Shukla 2018년 8월 6일
댓글: Walter Roberson 2018년 8월 6일
Actually i want to generate a large amount of random number in order of 16*10^9 .For this amount of data bits the matlab shows out of memory.Is there any way to do this please suggest me.

답변 (1개)

OCDER
OCDER 2018년 8월 6일
Save the random numbers to hard drive via fwrite and read the numbers from file via fread. OR, just control the random number generator algorithm so you can repeatedly get the same "random" numbers, which are really pseudo-random numbers.
  댓글 수: 1
Walter Roberson
Walter Roberson 2018년 8월 6일
In some cases you can use tall() arrays.
I estimate that you need about 120 gigabytes of memory to hold all of those random samples. You should consider using a different workflow.

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

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by