We propose a scheme for preparing an arbitrary polarization-entangled mixed state starting from a pure state with location decoherence owing to the path difference. The scheme, using linear optical devices (beam splitter, half wave plate, quarter wave plate) and single-mode optical fibers, is feasible in experiment within current optical technology. We also give a simplified scheme for a special case
rho=p∣psi><psi∣+(1−p)∣phi><phi∣.