repmat(A,M,N) when A is a scalar(标量) is commonly used to produce an M-by-N matrix filled with A's value and having A's CLASS.
repmat(NAN,M,N ) is the same as NAN(M,N)
repmat(single(inf),M,N) is the same as INF(M,N,'single')
repmat(INT8(0),M,N) is the same as ZEROS(M,N,'int8')
repmat(UINT32(1),M,N) is the same as ONES(M,N,'uint32')
repmat(EPS,M,N) is the same as EPS(ONES(M,N))