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

Probably sub2ind would be what you need.

답변 (0개)

이 질문은 마감되었습니다.

질문:

2017년 1월 19일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by