MATLAB: What’s the answer and what’s mean ?? about matrices

matrices

a = [ 3 4 ; 5 6 ]
b = [ 1 0 ; 0 1 ]
g = a|b ——> what's the answer and what's mean ??

Best Answer

g=[1 1;1 1]
mean of matrix is the sum of each column divied by number of elements in it
so in this case mean of matrix is a 1*2 matrix