Understanding DTFT Angular Frequency: Mike's Questions

Click For Summary

Discussion Overview

The discussion revolves around the understanding of angular frequency in the context of the Discrete Time Fourier Transform (DTFT) and its relationship to sampling frequency. Participants explore how to interpret angular frequency values, the implications of frequency given in 'units of pi', and the conversion to Hertz. The conversation also touches on the differences between DTFT and Discrete Fourier Transform (DFT).

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Mike questions the appropriate range for angular frequency when the sample frequency is unknown, asking if it should be from -π to π or from 0 to 2π.
  • One participant explains that angular frequency can be expressed in radians per second and that the time range can vary based on definition.
  • Mike seeks clarification on whether the maximum frequency observable in the DTFT is half of the sampling frequency and how to convert angular frequency to Hz.
  • Another participant elaborates on the DTFT computation using the FFT algorithm, detailing how it generates frequency bins and the implications of aliasing.
  • Mike expresses concern about interpreting DTFT plots without knowledge of the sample rate and whether useful information can still be gleaned from angular frequencies alone.
  • One participant emphasizes the need to calibrate the DTFT with a known input to ensure accurate phase and amplitude representation.
  • Jason points out potential confusion between the DTFT and DFT, suggesting that the discussion may be conflating the two concepts.

Areas of Agreement / Disagreement

Participants express differing views on the interpretation of angular frequency and the relationship between DTFT and DFT. There is no consensus on the best approach to handle cases where the sample frequency is unknown, and the discussion remains unresolved regarding the clarity of terminology used.

Contextual Notes

Participants note the importance of understanding the sampling rate and its impact on frequency interpretation, as well as the potential for aliasing in frequency space. The discussion highlights the complexity of translating angular frequency to Hz without a known sample rate.

MikeSv
Messages
34
Reaction score
0
Hello everyone.
Iam trying to understand the discrete time Fourier transform for a signal processing course but Iam quite confused about the angular frequency.If I have a difference equation given, what values should I choose for my angular frequency if I do
not know anything about the sample frequency?
Should they go from - pi to pi or from 0 to 2pi?

And what does it mean if The frequency is given in 'units of pi'?

Can I convert this into Hz?

Thanks in advance,

Mike
 
Engineering news on Phys.org
Angular frequency in radians per second, ω = 2 ⋅ π ⋅ Frequency ( in Hz. )
Time can be -π to +π or from 0 to 2π. Either is possible, depending on definition.
You should calibrate any DFT for phase and amplitude by generating a known input fundamental sine or cosine function and seeing what phase and amplitude it returns.

If you have n samples at a rate of r samples per second. Maximum frequency will be r/2 Hz.
The output will be frequency from 0 to fmax, but aliasing will wrap higher frequencies around through zero.
There will be n/2 discrete frequencies generated.
 
Thank you very much for your reply!
So the maximum frequency Iam able to see in my DTFT is 1/2 of my sampling frequency?

That means I have to multiply my angular frequency by 1/2 the sampling frequency to get the frequency values in Hz, right? (In case the angular frequency is normalized)

But what if I have a sequence given without knowing anything about the sample rate? Can I get some useful information from my DTFT plot by just looking at the angular frequencies without knowing anything about my "frequency range"?

Thanks again,

Mike
 
The DTFT computation uses the FFT algorithm. You provide n data points and it returns n/2 cosine terms and n/2 sine terms. That makes n/2 complex phasors. For example;
Sample 8 points in time at a rate of 8 samples per second, the DTFT will give 4 frequency bins. The acquisition time cycle wraps around at one second, so the frequency bins will each be 1/1sec = 1Hz wide.
The 8 DTFT outputs will make 4 complex numbers, or phasors, for frequencies of; 0, 1, 2, and 3. There is no frequency 4 as it is alias 0. The Cos(0) will be the DC offset, the Sin(0) should cancel to be zero.

MikeSv said:
So the maximum frequency I am able to see in my DTFT is 1/2 of my sampling frequency?
Sampling data is also a form of harmonic mixing. If you digitise a 999kHz signal at 1MHz you will get a 1kHz waveform. When higher frequencies are present in the data, they will be mapped, or aliased, down into the fundamental spectrum. According to Shannon, you must sample at twice the highest frequency present.
https://en.wikipedia.org/wiki/Nyquist–Shannon_sampling_theorem

MikeSv said:
That means I have to multiply my angular frequency by 1/2 the sampling frequency to get the frequency values in Hz, right?
Yes, with a trap. The first element will be at frequency zero. The last frequency element will be the channel below Fsample/2 = Freq( (n/2) – 1). Remember the 0 to n–1, means you need to know n to scale frequency precisely. Discrete transforms have that digital counting problem.
Depending on how it is normalised you will need to multiply by n/2 and divide by the full scale value. You can only be sure if you calibrate the transform with a precise cosine wave and check that the “energy” ends up in the correct frequency bin, with the correct phase and amplitude.

MikeSv said:
But what if I have a sequence given without knowing anything about the sample rate? Can I get some useful information from my DTFT plot by just looking at the angular frequencies without knowing anything about my "frequency range"?
If you know the input was a single cycle of a repeating signal then you can study the harmonic content of the waveform. Phase will be meaningless, so you must study the amplitude of the odd and even harmonic phasors to identify the signal.
 
I agree with Baluncore on how to translate frequencies.

However, this conversation is a little confusing when it comes to samples, especially in frequency space. Are we talking about the Discrete Fourier Transform (DFT), or the Discrete Time Fourier Transform (DTFT)? Baluncore is clearly talking about the DFT, while I thought MikeSv was asking about the DTFT.

Jason
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
2K
Replies
10
Views
3K
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 46 ·
2
Replies
46
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
10
Views
3K