bv = reshape(bv, [1,1,1,16]); bv = repmat(bv, [66,52,56]); %use the size of ec to determine these values