[SciPy-User] Median element by element

Paolo Zaffino p.zaffino at yahoo.it
Mon Apr 23 04:08:03 EDT 2018


Hi all,
if I have n 3D matixes with the same shape, is it possible to obtain a 
new 3D matrix containing the median values computed element by element 
across all the n inputs?
Of course I could run a series of for cycles, but I definitely prefer a 
pythonitic way of doing that.

Thanks a lot in advance.

Paolo



More information about the SciPy-User mailing list