MATLAB: What do three inputs mean in a Matrix x(m,n,1)

What does this mean in Matlab:
[x(m,n,1); x(m,n,2); x(m,n,3)] where m=1:max(size(columns)), and n =1:max(size(rows));

Best Answer

  • It creates a (3*m x n) vertically concatenated matrix of the three ‘pages’ of the 3D matrix ‘x’.