Convert Z dimension to X dimension
조회 수: 1 (최근 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에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!