How do i create a 1D array that has 100 rows, 100 columns and 3 layers?
4 次查看(过去 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!