Based on the paper:
Shriki, O., Sompolinsky, H., & Lee, D. D. (2001). An information maximization approach to overcomplete and recurrent representations. In Advances in neural information processing systems (pp. 612-618).
Infomax.m contains a simple object-oriented implementation of the overcomplete recurrent Infomax neural network.
HexagonDemo.m implements the hexagon example from the aforementioned paper.