I have two matrices with the following dimensions:
A = [61X50]
B = [61X39]
I need to find the minimum value between each corresponding cell between these two matrices and put them in an array C. If there is a missing value (since A has 50 columns and B has 39) - the value from array A should be taken into consideration.
What would be the best way to achieve this in MATLAB ?
Edit:
Here's an example
Say A = [3 X 3] = [ 1 1 1; 2 2 2; 3 3 3]
and B = [3 X 2] = [ 0 0; 0 1; 1 2]
Array C should hold: [ 0 0 1; 0 1 2; 1 2 3] (Comparing each value in A and B column wise)