function subset=sub(s,a)
subset=a(1:s:size(a,1),1:s:size(a,2));



