I am trying to compute the variance of elements which are organised in matrices (in MATLAB). As an example, let's be A and B two matrices 2x2.
My goal is to find the matrix V (2x2 as well), being the variance of each element of A and each element of B, that is:
Can somebody help me on this?