No products are associated with this question.
Using File Exchange: MAT2TILES
data=cellfun(@(x)x(:)-mean(x(:)), Blocks, 'uni',0 );
Correlations = data.'*data;
Here, Correlations(i,j) is the correlation (my definition) of the i-th and j-th block. I'm not sure if this suits your definition (see my comments above).