Plotting Fourier Transform - HELP PLEASE

Consider a pulse of amplitude 1 and time duration 1 second. Sample this pulse at 20 samples/sec for 20 seconds and compute and plot the Discrete Fourier Transform (DFT).
I need the matlab code for this problem. I have not much knowledge of matlab.
Thank you very much

1 个评论

http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab

请先登录,再进行评论。

回答(5 个)

Insufficient information about the shape of the pulse.

1 个评论

I assume the professor is asking for a rectangular pulse, but as you said, it is impossible to know for sure...

请先登录,再进行评论。

提问:

2012-3-15

Community Treasure Hunt

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

Start Hunting!

Translated by