Anisotropic MR effect is seen in a non-magnetic p–n junction due to the space charge region being modulated by an external magnetic field.