JMathLabTutorial:Statistics (Random Numbers)
You can create vectors and matricies with random numbers using the major distributions. Look at the package [http:/jwork.org//jmathlab/doc/ random_numbers] for the description of various random-number generators.
For example, let us create a vector and a matrix with the random numbers distributed in accordance with a Poisson distribution (assuming the mean 2):
Learn how to graph these random numbers using histograms ("density plots") in the next section.