Psych 285: Computational Statistics
and Statistical Visualization

Professor Forrest Young

Assignment 1
Functional Programming - 1
Due Monday, January 29

Write CENTER, a function that column-centers a matrix X (i.e., makes the mean of each column zero). The function should take a matrix as its only argument and should return the centered matrix. Do this in the following two ways:

Please send your code to me by e-mail before class on the due date.

To get in touch: