0
Why the code not works?
import scipy as sp import numpy as np from scipy import fft var1 = np.array([(2,4,5),(1,3,5)]) trans1 = sp.fft(var1) print(trans1)
1 Answer
+ 1
SHIVAM KUMAR
use scipy.fftpack to import fft
And directly call fft instead of sp.fft
https://code.sololearn.com/cdZ778s7dj8n/?ref=app