Creating Matrix between two values
이전 댓글 표시
How can I creating 2x6 matrix using matrix operations? Elements of the matrix will be random numbers between 10 and 90.
답변 (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)
카테고리
도움말 센터 및 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!