Summation of hypermatrix along last dimension
Reported by julienq
BUG DESCRIPTION:
----------------
Summation of an hypermatrix along its last dimension re-arrange the previous dimensions in a bizarre order.
Impacts also the mean function as it uses sum itself.
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
size(sum(ones(2,3,4,5) ,4))
returns :
ans =
4. 2. 3.
OTHER INFORMATION:
------------------