1. A method of decoding neuronal responses comprising the steps of: a. recording action potentials from at least one neuron over time, wherein said action potentials are monitored while specific known motor tasks are being requested by the neuron; b. using order statistics to relate action potentials to respective unknown motor tasks being requested by the neuron given said recorded data.