Implementation of adaptive coupling through memristor