A network spanning several regions in the brain provides the mechanisms for spatial representation. The hippocampus, a center for both learning and memory, is an important component of this network (O'Keefe and Nadel [1]). The majority of cells in the hippocampus will primarily spike at one location in an environment. These cells, known as place cells, can collectively represent the position within an environment (Solstad et al. [3]). One large source of input to place cells are a group of cells in the medial entorhinal cortex (MEC) known as grid cells, which primarily spike in hexagonal patterns in the environment (Witter and Moser [4]). Thus, in order to understand the brain's spatial representation of its environment, it is essential to understand the behavior of grid cells in the MEC, place cells in the hippocampus, and the interaction between them. The work presented here focuses on one portion of this problem: modelling grid cells. We consider the setting of a rat exploring a rectangular enclosure, but this model could easily be extended to a variety of settings.











