index a second array based on max index of a first array

I have a 12-D result array that that I am reducing to a 4-D array based on max value. I use several 12-D input variable arrays to create the result array. How do I index the input arrays based on the max index after multiple dim-compression of the array?

1 comentario

Probably sub2ind would be what you need.

Respuestas (0)

La pregunta está cerrada.

Preguntada:

el 19 de En. de 2017

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by