Instead of 200 faces we are giving you 337 (the more the merrier!!) paired face images. Face images in frontal pose are stored in mat0 and face images in 45 degree pose are stored in mat45. Corresponding columns in mat0 and mat45 are images of the same person in frontal and 45 degree pose, respectively. The columns of these matrices are pixel intensities of the face images, rearranged to make column vectors. Suppose one of the columns is 'tmp', In order to convert 'tmp' back to image matrix for the purpose of visualization, simply reshape it and imshow in matlab like this % it works for both mat0 and mat45 tmp = reshape(tmp,40,40); figure, imshow(tmp,[]) % the empty square bracket is to rescale tmp to make its entries between 0 and 1.