— In this paper we have suggested a sparse three dimensional array model for the brain. Entries of the array are synaptic weights as functions of time. This is a typical four dimensional spatiotemporal model, where each event has three spatial and one temporal dimension. Here we have concentrated on cortical computation over this model. Our model naturally indicates a duality between memory (both working and long term) and cognition, in the sense that they are mutually transformable in either direction. It also gives some support to the notion of grandmother cells [12]. Keywords — Cortical computation, synaptic plasticity, cognition, memory.