iwant = 1.1093e+08 iwant(:,:,1) = 0 iwant(:,:,2) = 1.4517e+08iwant(:,:,1) = 0iwant(:,:,2) = 0iwant(:,:,3) = 1.3899e+08iwant(:,:,1) = 0iwant(:,:,2) = 0iwant(:,:,3) = 0iwant(:,:,4) = 1.9546e+08iwant(:,:,1) = 0iwant(:,:,2) = 0iwant(:,:,3) = 0iwant(:,:,4) = 0iwant(:,:,5) = 1.2051e+08iwant1=max(iwant(:,:,:))
I am getting the result such that it considers only the last value. But for the above result i want to have the value as 1.9546e+08. Can anyone help me to get that value.
Best Answer