I have matrix
A = [ 5 6 7;
7 5 6 ]
B = [ 1 2 3;
3 1 2 ]
C = [ 1 0 2;
0 2 1 ]
Start time A = [ 2 3 7;
1 6 8 ]
Start time C = [ 1 0 5;
0 4 7 ]
Question : I want to repeat matrix A by using Matrix B. and I also have matrix Start time A that is column of beginning where we have to put each value of Matrix A. and then I have to input value "0" as much as each value of matrix C (value "0" is repeated by matrix C) in column number that is value of matrix "start time C" and before putting value of each matrix A.
so that I have to have output like this below matrix :
Result = [ 0 5 6 6 0 0 7 7 7;
7 7 7 0 0 5 0 6 6 ]
thanks for your help guys