Implementation of linear dopant drift emulator for nanoscale TiO2 device with continuous flux-change cubic function