Schematic of a Matsuoka oscillator. Two neurons, a flexor (f) and an extensor (e), reciprocally inhibit each other. External inputs (gi) such as sensory feedback or inputs for other neurons can be either inhibitory or excitatory, depending on the gain (hi). Black circles indicate inhibitory inputs. White circles indicate excitatory inputs. Gray circles can be either inhibitory or excitatory.