File Exchange

image thumbnail

Random Number Generator

version 1.0.0.0 (1.63 KB) by Sander Khowaja
This code generates a random number using Mersenne Twister Method

4 Downloads

Updated 12 Dec 2016

View License

This code is for generating random numbers without using rng or rand functions of MATLAB. This was one of my weekly assignments, therefore, anybody can edit, modify or improvise the code as per their requirement and application. This code generates random number using Mersenne Twister Method. Execute the demo file and generate the random number. Change the seed value to generate different sequence of random numbers.

Cite As

Sander Khowaja (2021). Random Number Generator (https://www.mathworks.com/matlabcentral/fileexchange/60692-random-number-generator), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Clive Mathe

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!