unifrnd
Continuous uniform random numbers
Description
Examples
Input Arguments
Output Arguments
Alternative Functionality
unifrndis a function specific to the continuous uniform distribution. Statistics and Machine Learning Toolbox™ also offers the generic functionrandom, which supports various probability distributions. To userandom, create aUniformDistributionprobability distribution object and pass the object as an input argument or specify the probability distribution name and its parameters. Note that the distribution-specific functionunifrndis faster than the generic functionrandom.Use
randto generate numbers from the uniform distribution on the interval (0,1).To generate random numbers interactively, use
randtool, a user interface for random number generation.
Extended Capabilities
Version History
Introduced before R2006a