From: Flavio Augusto Della Testa on
Hello all,

My question is a little bit basic, but I have already searched without success. So sorry if the question was already solved

My problem is: I have a matrix of size (M X N) and I want to copy it in P times in a "vector of matrix" of size (M X N X P). I could do it easily in a loop, but I'd rather there was a different form, on which it would not be necessary any loop, because it can become a little slow if P is big

I thank you in advance

Flávio
From: Matt J on

help repmat