maximum over three dimensional array

3 visualizzazioni (ultimi 30 giorni)
Jorge Alonso
Jorge Alonso il 11 Apr 2019
Risposto: Jorge Alonso il 11 Apr 2019
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

Risposte (1)

Jorge Alonso
Jorge Alonso il 11 Apr 2019
Thanks. I tried that before but it was not working because I did not change the dimensions of the arrays

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by