How do i create a 1D array that has 100 rows, 100 columns and 3 layers?
조회 수: 3 (최근 30일)
이전 댓글 표시
채택된 답변
KSSV
2016년 9월 6일
It will be 3D matrix not an array... You can make the above said dimensions matrix using:
rows = 100 ;
columns = 100 ;
layers = 3 ;
data = rand(rows,columns,layers) ;
An array would be simply a row matrix/vector or a column matrix/ vector.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!