How do I fourier transfrom sinc function by Python's numpy.fft.fft?

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개)

카테고리

도움말 센터File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

질문:

2021년 5월 29일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by