Azzera filtri
Azzera filtri

Plotting Fourier Transform - HELP PLEASE

1 visualizzazione (ultimi 30 giorni)
Chance
Chance il 15 Mar 2012
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 Commento
Walter Roberson
Walter Roberson il 15 Mar 2012
http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab

Accedi per commentare.

Risposte (5)

Rick Rosson
Rick Rosson il 15 Mar 2012
What have you tried to do so far?

Walter Roberson
Walter Roberson il 15 Mar 2012
Insufficient information about the shape of the pulse.
  1 Commento
Rick Rosson
Rick Rosson il 15 Mar 2012
I assume the professor is asking for a rectangular pulse, but as you said, it is impossible to know for sure...

Accedi per commentare.


Rick Rosson
Rick Rosson il 15 Mar 2012
>> doc fft
>> doc fftshift
>> doc abs
>> doc plot

Rick Rosson
Rick Rosson il 15 Mar 2012
Please check out this online interactive tutorial:
HTH.
Rick

Rick Rosson
Rick Rosson il 19 Mar 2012
You're welcome.

Community Treasure Hunt

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

Start Hunting!

Translated by