The model of vector coding is proposed. The excitation vector generate
d in a neuronal ensemble simultaneously acts on a map of selective det
ectors (selectors) producing a local excitation maximum that represent
s the input stimulus. Vector coding is suggested also to explain assoc
iative learning and memory. The output responses in the model are spec
ified by excitation vectors triggered by the command neurons in the en
sembles of premotor neurons.