How do I fourier transfrom sinc function by Python's numpy.fft.fft?
20 次查看(过去 30 天)
显示 更早的评论
Hello, I'm trying to write a Python code to verify the fourier transform’s duality by transforming the following sync functions.
The given sinc function was created by fourier transforming this square pulse.

and I got this sinc funtion which is represented by np.sin(i*T/2)/(i/2)

How do I write code that transforms this sinc function to square pulse by using np.fft.fft of numpy?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!