how can I generate a random matrix?
古いコメントを表示
hello guys, what code can i use to generate a mxn matrix provided that the value is from 1 to x(depending on the desire of user) and the values should be unique from each other. :)
1 件のコメント
Image Analyst
2012 年 10 月 7 日
There is a help facility in MATLAB (beyond the Answers forum). It's right there built into MATLAB. For things like this you can use the help documentation. So you can either type "help random" "doc random" into the command window, or click the question mark icon, or (in older versions) get help from the menus. Or you can click in a word in the editor and type F1. For things like this (random) you'd get faster help by using the built-in help.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!