data = xlsread ('file.xlsx' ,'sheet');k=15;for i = 1:16:128 for j= 1:16:128 submat = data(i:i+k,j:j+k); Uniform(i,j) = (max(max(submat)))/(min(min(submat))) end
In given code i want to store values i am getting for Uniform vector to 8 by 8 matrix. Problem here is since this has a step of 16 normal methods did not work.
Thnak you
Best Answer