Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: fft, sampling frequency, wavelength
Replies: 13   Last Post: Apr 17, 2012 2:22 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Solbohak

Posts: 8
Registered: 3/13/12
Re: fft, sampling frequency, wavelength
Posted: Apr 12, 2012 4:59 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


> Given the fft of a real-valued waveform with a length of N evenly
> spaced points, the frequency of a peak at the ith point 1<= i <=
> ceil((N+1)/2) will be a fixed fraction of the the sampling frequency
> Fs.
>
> f = (Fs/N)*[ 0:ceil( (N-1)/2 ) ];
> f0 = (Fs/N)(i-1) ;
>
> So, doubling Fs doubles f0, etc.
>
> Greg


Hi Greg,

shouldn't the frequency peaks not change their position on the frequency-axis !?

Could you do fft of the wave (vector a) and tell me what you get? Please!!!

here the needed facts again:

The data genarator produces 61 elements in a second. So the whole length of the vector "a" represent a total time of 50/61=0.82 seconds.

I am grateful for your help.

Solbohak






Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.