the algorithm for the paper: Robust Face Recognition via Sparse Represen...

...tation 2009

the main function 
Sparse Representation-based Classification(SRC)