MATLAB Answers

In which Matlab version was rng() introduced?

7 views (last 30 days)
Johannes Pfeifer
Johannes Pfeifer on 31 Jan 2020
Answered: Adam on 31 Jan 2020
The old syntax to set the seed of a random number generator like
is discouraged. Instead, it is recommended to use
However, as far as I know, older versions of Matlab did not yet have that functionality. But in contrast to other functions, the documentation does not mention in which version the current functionality was introduced.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by