Random Number Generator

This code generates a random number using Mersenne Twister Method
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 (2024). Random Number Generator (https://www.mathworks.com/matlabcentral/fileexchange/60692-random-number-generator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Random Number Generation in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes