there is a three dimension array images=(1024,1024,684)
in the third dimension, I want to get the maximum value of images(*,*,0:35) first.
then get the maximum value of images(*,*,36:71)
........
more general ,i want to get the third dimension 's maximum and minimum ,for example
c=max(images(*,*,36i:36i+35))
but,the result is only a value, i want to get a matrix of maximum value of the each third data range.
how to do it ??
|