Convert Z dimension to X dimension

조회 수: 3 (최근 30일)
Anum Ahmed
Anum Ahmed 2019년 9월 30일
답변: Adam 2019년 9월 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