I have a matrix $A_{w,x,y,z}$ and I want to show average across the w axis.
So I want my new matrix $X$ to be of shape (x,y,z) since we too the mean across w.
What is the proper way to write this in LaTeX notation.
$\sum\limits_{n=1}^{w} A_{n,x,y,z}$
or
$\sum\limits_{n=1}^{w} A_{n}$