How to calculate the mean of multiple matrices (with different size)?
Mostra commenti meno recenti
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
Risposta accettata
Categorie
Scopri di più su Creating and Concatenating Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!