Extract a single element from a matrix:sub2ind() http://blog.sina.com.cn/s/blog_64eb03bb0101bmek.html