I have a 2x133xi layered matrix. How can I take the i layers and combine it into a single layer matrix? So if i = 5 and I had a 2x133x5 matrix, the end result would be just a 2×665? I tried using the cat function but I can't seem to automate it for any number i.
MATLAB: Concatenate layered matrix into one layer
MATLABmatrixmatrix manipulation
Best Answer