Here are the code examples for Chapter 10. Example 10.2 SVD for optimal thresholding Example 10.8 optimal matched pursuit for binary signal