 |
Random Number Generation - MATLAB & Simulink
Use the rand, randn, and randi functions to create sequences pseudorandom numbers. Use the rng function to control the repeatability of your results. Use the RandStream class when you need more advanced control over random number generation.
www.mathworks.com |
 |