How to select / extract an array from a structure corresponding to other data type inside the same structure file?

1 view (last 30 days)
Say that I have a structure that contains different types of data type (attached).
I want to get the maximum value in one of the field (double type, 'MeanIntensity') using max, then I want to select the field (Matrix array, 'DataBinary') corresponding to its maximum value, then save it on a separate matrix array. Any idea on how to do this?
Thanks for any suggestions and help.

Answers (0)


Find more on Structures in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!