How to create 3d array(39X37X25) from double array(36075X1)?
2 次查看(过去 30 天)
显示 更早的评论
Hello everyone, I need to create a 3D array size39X37x25 from a 36075X1 array. Could anybody help me?
0 个评论
回答(1 个)
Walter Roberson
2015-7-29
reshape(YourVector, 39, 37, 25)
Note that this will fill "down the columns". You did not specify the order you wanted the elements.
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!