If you have two matrices, which together give xc and yc coordinates into another matrix, eg : xc = [1 1 1; 2 2 1];
yc = [1 2 1; 3 2 4];
A = [6 7 8 9; 10 11 12 13];
Produce the matrix B which contains the values of A at the locations given in xc and yc. Thus:
B = [6 7 6; 12 11 9];
It needs more than one test
agree! it is easy to cheat!
153 Solvers
434 Solvers
324 Solvers
Sum the numbers on the main diagonal
375 Solvers
Create a two dimensional zero matrix
275 Solvers