i have a problem trying to replace (copy) values from a vector to a matrix. So given this matrix
1 1 1 1 1 1 1 1 1 0 0 1 0 0 1 0 0 1
the plan is to copy values from this vector V=[0;10;20;30;40;50;60;70;80;90;100;110;120] starting from 10 ,V(2), into columns of the above matrix , to obtain this:
10 40 70 20 50 180 30 60 190 0 0 100 0 0 110 0 0 120
Best Answer