MATLAB Answers

0

Convert Z dimension to X dimension

Asked by Anum Ahmed on 30 Sep 2019
Latest activity Answered by Adam
on 30 Sep 2019
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 Comments

Sign in to comment.

1 Answer

Answer by Adam
on 30 Sep 2019
 Accepted Answer

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

  0 Comments

Sign in to comment.