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.
인용 양식
Matt Fig (2024). intmat (https://www.mathworks.com/matlabcentral/fileexchange/9258-intmat), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R14SP1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Random Number Generation에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 | Made it work more like rand. |