Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

2 vues (au cours des 30 derniers jours)
Joshua Hundley
Joshua Hundley le 19 Jan 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaire
Stephen23
Stephen23 le 19 Jan 2017
Probably sub2ind would be what you need.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by