you should specify how the elements are treated in the conversion.
I suppose you want a change in the order of the indices (not a reshape of the array).
Suppose your array is A(a,b,c) [a=2, b=108, c=2 in your case]. What you want is not totally clear because a=c in your case.
If you want to convert it into B(c,a,b) make this:
B = shiftdim(A,2)
If you want to convert it into C(a,c,b) it is a bit more involved.
regards