Matrix feature extraction