Anomalous rectification in a purely electronic memristor