Creating Matrix between two values
10 ビュー (過去 30 日間)
古いコメントを表示
How can I creating 2x6 matrix using matrix operations? Elements of the matrix will be random numbers between 10 and 90.
0 件のコメント
回答 (1 件)
Mohammad Sami
2019 年 12 月 30 日
If I understood correctly, you can use the function randi to generate a matrix of integers for any specified size.
randi([10 90],2,6)
2 件のコメント
参考
カテゴリ
Help Center および 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!