I want to implement ifft2 using DFT matrix. The following code works for fft2.
import numpy as np def DFT_matrix(N): i, j = np.meshgrid(np.arange(N), np.