[scilab-Users] Concatenation with hypermatrix

Samuel GOUGEON Samuel.Gougeon at univ-lemans.fr
Wed Jun 1 15:31:25 CEST 2011


  Another clearer and more general example, where a new leaf is added at each 
iteration:

r = [];
for i=1:4
     nr = grand(2,2,"uin",0,9);
     r = matrix([ matrix(r,[1 size(r,"*")]) matrix(nr,[1 size(nr,"*")])],[2 2 i])
end

By the way, you are right: A new concatenation operator along the third 
dimension could be useful.

Samuel




More information about the users mailing list