resently, i recieved some letters to ask me how to determin the numbers of generated samples. Actualy, i determined the numbers by setting the simulation steps. for example, if i set the transient analysis time as 1ms, and simulation step as 1us, the 1ms/1us = 1000 samples will be generated. This is because that, during every simulation step, the simulator visits the noise module, and make it generate a random number. So the number of samples is determined by the simulation steps.
I hope this will be useful.
P.S a large number is needed to make the noise sample follows the distribtion.