Calculating mean values of a 3D matrix for every rows
3 次查看(过去 30 天)
显示 更早的评论
I have a matrix 12x441x1440. 12 is the dimension of time. how can I get 12 average numbers for every month from that matrix
0 个评论
采纳的回答
Simon Chan
2022-3-30
Try this:
mean(yourmatrix,[2 3]);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!