How can i handle a large amount of data (near about 16*10^10).
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
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
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 Center 和 File Exchange 中查找有关 Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!