MATLAB Answers

Max value of each vector in a 3D hyperspectral data matrix

1 view (last 30 days)
I have 3D datacubes (hyperspectral images), and would like to come up with the position of the maximum value in each of the vectors along the z dimension.
So for every pixel with (x,y) coordinates, I want to know what the position is of the maximum value in the (x,y,:) vector, the max. of all z values).
is there a way to do this without running a for-loop with find?
Thanks!

  0 Comments

Sign in to comment.

Accepted Answer

More Answers (0)