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 Kommentar

Probably sub2ind would be what you need.

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 19 Jan. 2017

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by