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

采纳的回答

Adam
Adam 2019-9-30
myArray(:)
will do for that kind of reshape, where myArray is obviously the array you start with.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by