Averaging the data from a 3d matrix and populating it in a 2D matrix.
2 views (last 30 days)
Show older comments
Arup Bhattacharya
on 17 Oct 2019
Commented: Arup Bhattacharya
on 17 Oct 2019
I have a problem. I have a 3D matrix, lets say A(15,8,40) and I want to get a new matrix, lets say B(15,8) where every row in matrix B will have the mean value of that row, averaged over the third dimension, in this case 40. How can I do that?
Accepted Answer
More Answers (0)
See Also
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!