MATLAB: What types of random variables can MATLAB generate

carlomonterandomStatistics and Machine Learning Toolboxvariables

I would like to know what types of random variables MATLAB can generate.

Best Answer

MATLAB has the RAND and RANDN functions for generating uniform and normally distributed random variables.
Statistics Toolbox has many functions for generating other types of random variables. For example, you can use the MAKEDIST and RANDOM functions to generate random numbers with specific correlations. Take a look at the following pages for a list of the distributions available in Statistics Toolbox:
Related Question