Convert Z dimension to X dimension
3 次查看(过去 30 天)
显示 更早的评论
I have an array of size (1000,1,5) elements. I want to append all the Z dimension elements to the X dimension. As in, I want to convert the array to (5000,1) elements. How should I do it?
Many Thanks
Anum
0 个评论
采纳的回答
Adam
2019-9-30
myArray(:)
will do for that kind of reshape, where myArray is obviously the array you start with.
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!