generate more random numbers

2 Ansichten (letzte 30 Tage)
JL
JL am 20 Aug. 2019
Kommentiert: dpb am 21 Aug. 2019
Hi everyone, when i try to generate more 100 million random sample, I memory issue with matlab.
Is there a way to generate more than 100 million samples?
  8 Kommentare
Adam Danz
Adam Danz am 20 Aug. 2019
Bearbeitet: Adam Danz am 20 Aug. 2019
Nice, I wasn't familiar with that method. Thanks, dpb!
dpb
dpb am 21 Aug. 2019
For importance sampling you would have to have the translation adjustment for the normalization from the importance-sampled distribution.
Unless it takes multiple samples to actually compute the results, there's nothing preventing doing the accumulation dynamically or from processing output disk file. Would, of course, require binning to a number of bins that is computable but even there the bins could theoretically be maintained in tall array that isn't all in memory at once.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by