Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
Abhishek mani  Shukla
Abhishek mani Shukla am 6 Aug. 2018
Kommentiert: Walter Roberson am 6 Aug. 2018
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.

Antworten (1)

OCDER
OCDER am 6 Aug. 2018
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 Kommentar
Walter Roberson
Walter Roberson am 6 Aug. 2018
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.

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by