Hi professor;
I am wondering how to tranform matrix 1 in the top into matrix 2 in the bottom using matlab?
you could refer them as A and B,
each colum of B repeats each colum of A 3 times.
Best
Hi professor;
I am wondering how to tranform matrix 1 in the top into matrix 2 in the bottom using matlab?
you could refer them as A and B,
each colum of B repeats each colum of A 3 times.
Best
Hi,
You can use the repmat
fonction:
B = repmat(A, 3, 1);
or a kronecker product.
Best,
Stéphane.