I want to take my 19x256x256 array and write into 256 separate matrices, which I think can be done using reshape. I also want to write each matrix automatically into a new "layer" i.e. plane1=A(:,:,1), plane2=A(:,:,2),….,plane256=A(:,:,256). Is there a way of doing this with some sort of looping so that each new variable is stored automatically?
MATLAB: I have a 19x256x256 STM image in an array form that I need to transform
cell arraysfor loopMATLABmatrix manipulation
Best Answer