intmat

Versione 1.0.0.0 (1,17 KB) da Matt Fig
creates a random array of integers.
2K download
Aggiornato 24 gen 2006

Visualizza la licenza

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.

Cita come

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

Compatibilità della release di MATLAB
Creato con R14SP1
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Random Number Generation in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

Made it work more like rand.