maximum over three dimensional array
Show older comments
I have some code in which I have to find the maximum of certain dimensions of a multidimensional matrix nk x nkp x nz ...
In fact I needed to find the maximum over nkp dimension to obtain a matrix of optimal values of nk x nz.
So far I was looping over nz but I was wondering if it can be done without looping
Thank you
1 Comment
madhan ravi
on 11 Apr 2019
Max along columns and then squeeze.
Answers (1)
Jorge Alonso
on 11 Apr 2019
0 votes
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!