Instantly share code, notes, and snippets.
Very nice introduction to compressed sensing ! Thank you.
One little detail: In the present version of numpy (I use 1.14.3) you need to use np.fft.fft(Xhat) and np.fft.fft(X) in the very last section for the fast fourier transform and not only fft.
Sorry, something went wrong.