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

Walter Roberson
Walter Roberson 2012년 3월 15일
http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab

댓글을 달려면 로그인하십시오.

답변 (5개)

Rick Rosson
Rick Rosson 2012년 3월 15일

0 개 추천

What have you tried to do so far?
Walter Roberson
Walter Roberson 2012년 3월 15일

0 개 추천

Insufficient information about the shape of the pulse.

댓글 수: 1

Rick Rosson
Rick Rosson 2012년 3월 15일
I assume the professor is asking for a rectangular pulse, but as you said, it is impossible to know for sure...

댓글을 달려면 로그인하십시오.

Rick Rosson
Rick Rosson 2012년 3월 15일

0 개 추천

>> doc fft
>> doc fftshift
>> doc abs
>> doc plot
Rick Rosson
Rick Rosson 2012년 3월 15일

0 개 추천

Please check out this online interactive tutorial:
HTH.
Rick
Rick Rosson
Rick Rosson 2012년 3월 19일

0 개 추천

You're welcome.

카테고리

질문:

2012년 3월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by