intmat

Versión 1.0.0.0 (1,17 KB) por Matt Fig
creates a random array of integers.
2K Descargas
Actualizado 24 ene 2006

Ver licencia

Not a major breakthrough, just useful. I often need to make random matrices and then manipulate them with some function. It is easier for me to see what the manipulations have done if I am looking at integers, not floating points!

INTMAT(m,n,maxx) returns a matrix of random integers from 0 to maxx.

INTMAT(m,n) returns an m-by-n matrix of random integers from 0 to 10.

INTMAT(m) returns a m-by-m matrix of integers from 0 to 10.

Citar como

Matt Fig (2025). intmat (https://www.mathworks.com/matlabcentral/fileexchange/9258-intmat), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R14SP1
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Random Number Generation en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

Made it work more like rand.