Hi ! I’m having issue with using NumPy’s DFT/FFT module. I tried using fft(…), but the error message output says name ‘fft’ is not defined.
Hi @cyyoung ,
You need to use np.fft
. If you just write fft
Python thinks it’s the name of a variable or function.
Good luck with the Codercise!
Thank you. I manage to do it by writing np.fft.fft(), haha
1 Like