Fft and normalized vs real frequency question

  • Thread starter Thread starter eric hardin
  • Start date Start date
  • Tags Tags
    Fft Frequency
Click For Summary

Discussion Overview

The discussion revolves around understanding the Fast Fourier Transform (FFT) and the implications of normalized frequency versus real frequency. Participants explore how to interpret the frequency axis when the sampling frequency is unknown, particularly in the context of discrete signals and their representation in FFT plots.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant, Eric, questions how to extract real frequency information from FFT results without knowing the sampling frequency (fs), expressing confusion over normalized frequency readings.
  • Eric presents examples of signals and asks how the normalized frequency axis relates to different sampling frequencies, indicating a lack of clarity on this aspect.
  • Another participant suggests that without knowledge of the sampling frequency, the time information is lost, implying that normalized frequency lacks context for real-world applications.
  • Eric follows up by asking how one typically determines the sampling frequency in practice and whether the FFT can still be useful if only normalized frequencies are available.
  • Eric acknowledges receiving answers from a friend, indicating that further clarification was sought outside the forum.

Areas of Agreement / Disagreement

Participants express uncertainty regarding the extraction of real frequency information from FFT results without knowledge of the sampling frequency. There is no consensus on how to handle this issue, and multiple viewpoints are presented regarding the implications of normalized frequency.

Contextual Notes

Limitations include the dependence on the sampling frequency for accurate frequency interpretation, and the discussion does not resolve how to determine the sampling frequency from a given signal.

Who May Find This Useful

This discussion may be useful for individuals learning about FFT, signal processing, and the interpretation of frequency data in the context of discrete signals.

eric hardin
Messages
6
Reaction score
0
Hello,
I have a question regarding fft's. My experience with working with Fourier transforms is pretty much limited to transforming contrived functions pen and paper style, not dft's. But now I need something and I think the fft is the appropriate tool, but I'm having a hard time understanding some aspects of it. I figured I could get some help here... please be gentle.
I'm using numpy, I think it's a lot like matlab, so you should be able to read it if you know matlab.
My question deals with reading the normalized frequency axis. I think I understand that I can directly read the frequency from a plot but in units of cycles per sample. But I feel like I'm missing something that I need to pull out the real frequency if I don't know the sampling frequency.
So, of course, I started out with simple examples like a sinusoid according to some tutorials:
n=arange(0,30,1)
fs = 10
x=cos(2*pi*n/fs)
N1=2**8
X1 = abs(fft(x,N1))
F1 = linspace(0,N1-1,N1)/N1
pylab.plot(F1,X1)
And I see a spike at 0.1 and 0.9 corresponding to the frequencies 1 and -1 in units of 1/fs. But what I don't understand is how to pull out that frequency if I don't know fs, which is the sampling frequency, correct? For example, how would you find the frequency if I gave you x without telling you how I generated the data?
Also, what if the signal looks like,
x=cos(2*pi*n/2)+cos(2*pi*n/10).
Those are different sampling frequencies, so to which does the normalized frequency axis correspond.
Sorry if this is an elementary question, but I feel like I've looked around enough to warrant asking people.
As always, because I don't understand the material, I probably gave the wrong details. Please let me know if more information is needed.
My eternal gratitude,
Eric Hardin
 
Physics news on Phys.org
eric hardin said:
Also, what if the signal looks like,
x=cos(2*pi*n/2)+cos(2*pi*n/10).
Those are different sampling frequencies, so to which does the normalized frequency axis correspond.
Sorry if this is an elementary question, but I feel like I've looked around enough to warrant asking people.
As always, because I don't understand the material, I probably gave the wrong details. Please let me know if more information is needed.
My eternal gratitude,
Eric Hardin

cos(t) and cos(2t) is literally the same function if I scale the time without telling you that I did so. Hence if you don't know the sampling frequency then the time information is lost. You have an information relative to your sampling freq. Hence the normalized means missing the sampling freq. The real freq axis is the T multiple of your normalized axis
 
Thanks for the reply, please bear with me I'm going to ask some follow-up questions.
Ok so, I feared that that would be the answer, i.e., you don't know. So, in real life, how do you know the sampling frequency? Does it come from just being familiar with your signal? I thought that the fft was used to pull out embedded frequencies or periodicity, but it sounds like if I had a signal, for example x in my original question, I wouldn't be able to do that. Also, if all the better I can do is to get the normalized frequency, how do people use that or how is it useful? thanks again for you reply. I really appreciate the conversation.
Eric
 
Thanks again for responding. I talked to a friend of mine who answered my questions.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
8K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 16 ·
Replies
16
Views
15K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
1
Views
6K