I have a 3D matrix X of size a x b x c.
a x b x c
I want to create a 3D matrix Y in MATLAB as follows:
for i = 1 :