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)

7th Jul 2021, 3:03 AM
SHIVAM KUMAR
SHIVAM KUMAR - avatar
1 Resposta
+ 1
SHIVAM KUMAR use scipy.fftpack to import fft And directly call fft instead of sp.fft https://code.sololearn.com/cdZ778s7dj8n/?ref=app
7th Jul 2021, 5:06 AM
A͢J
A͢J - avatar