| k-Wave Toolbox |
|
Return the value and indices of the smallest value in an N-D array
min_val = minND(mat) [min_val, ind] = minND(mat)
minND returns the smallest value in the N-D array given by mat. The indices of the smallest value within the array can also be returned, where ind = [ind_dim_1, ind_dim_2, ... , ind_dim_N]. The indices can be used to directly address the smallest value, i.e., min_val = mat(ind).
|
input array |
|
smallest value in |
|
array of indices corresponding to the location of the smallest value in |
|
mendousse | neper2db | ![]() |
© 2009-2014 Bradley Treeby and Ben Cox.