I have A and B two 4x4 matrices, and C = 20x1 matrix.
How could I save result of
find(C>A(1,1) & C<B(1,1))
in the first coulmn of another matrix D so that when I go to (using loop)
find(C>A(1,2) & C<B(1,2))
it saves those data in second column of D and so on? The number of rows in first and second case may varry in real scenario.
For my actual purpose, I have A and B = 20x20 matrix. and C = around100000 x 1.
Your help would be highly appreciated.