Memristor-based chaotic system with abundant dynamical behaviors and its application