index a second array based on max index of a first array
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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 Comment
Stephen23
on 19 Jan 2017
Probably sub2ind would be what you need.
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!