First time here? Check out the FAQ!
answered 2014-02-04 11:22:06 -0600
if I understand what are you asking, try the minMaxLoc function