Thanks for reply. Let me take another example. The following script fails because x is made as a 1×2×3 hyper matrix and I can't use 4th and 5th indexes. In my actual code, the number of 4th and 5th dimensions are variable and I cant't know in advance.
x=zeros(1,2,3,1,1); disp(size(x)) a=x(1,1,1,1,1) Best regards -- View this message in context: http://mailinglists.scilab.org/how-to-respond-the-shrinkage-of-hyper-matrix-tp4032488p4032494.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users