this matlab code comes with the following articles that describes an Example of MDCT with MP3 coding : http://gnthibault.tumblr.com/post/69491654279/compressed-sensing-part-4-illustration-of-mdct