One type of device that is emerging as an attractive artificial synapse is the resistive switch, or memristor. These devices, which usually consist of a thin layer of oxide between two electrodes, have conductivity that depends on their history of applied voltage, and thus have highly nonlinear