How to sum multiple matrice in loop ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Anne-Laure GUINET
am 19 Feb. 2019
Bearbeitet: Matt J
am 20 Feb. 2019
Hi everybody,
I would like to sum multiple matrice using a loop.
I attach my data.
So, I have a multiple 4D double structure, that contains 4x4x32x12 matrices.
I would like to sum all the matrices according the last argument to obtain 12 matrices which are the sum of the 32 matrices (in my code i = 1:12 ; j = 1:32).
I think I have to use a loop.
Is anybody could help me?
Thanks,
-- AL
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!