Calculating mean values of a 3D matrix for every rows

2 views (last 30 days)
Joydeb Saha
Joydeb Saha on 30 Mar 2022
Commented: Joydeb Saha on 6 Apr 2022
I have a matrix 12x441x1440. 12 is the dimension of time. how can I get 12 average numbers for every month from that matrix

Accepted Answer

Simon Chan
Simon Chan on 30 Mar 2022
Try this:
mean(yourmatrix,[2 3]);
  4 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by