How to calculate the mean of multiple matrices (with different size)?
Show older comments
Hi all
I have multiple matrices, where the second dimension is of different size for each matrix. Here I add an example: Matrix A (128 x 2337) Matrix B (128 x 2828) Matrix C (128 x 2067)
Now I would like to calculate the mean over the second dimension over all matrices, so that the resulting averaged matrix for example looks like Matrix D (128 x 2000).
This may probably require to normalize the second dimension?
How would you do it? Many thanks in advance! Any tip is very appreciated. Liso
Accepted Answer
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!