extracting optimal values from 4-D double

Answers (1)

So you're trying to find the minimum element of a and potentially its location in that array? See the min function. While the "Smallest Element in Matrix" example on the documentation page for min operates on a matrix, the technique it describes generalizes to N-dimensional arrays as well.

Asked:

on 22 May 2017

Edited:

on 22 May 2017

Community Treasure Hunt

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

Start Hunting!