On 8/8/2011 6:52 AM, manishp wrote:> When a 4 point DFT of a time domain signal x(n) is calculated, > > 2) As the sample value increases, the frequency it represents also > increases >I don't know what you mean by this exactly. Do you mean: - as a time sample increases then the frequencies it represents also increase? That will be the case if you increase one temporal sample by itself. In the limit, all of the frequency samples will tend to become equal. - as one frequency sample is increased? That is sort of a truism as the frequency samples represent the value at one frequency. It's like saying "if I make it bigger, then it's bigger". - as the number of time samples are increase? Then the answer is: "it depends" on whether you increases the sample rate or left it alone and increased the time span. In the first case, the frequency range covered by the samples is increased so the frequency samples represent higher frequencies than before (and there are more of them). In the second case, the frequency range stays the same but the number of frequency samples increases. In that case the *highest* indexed frequency sample occurs at a higher frequency but only because fs is divided into more samples. Fred
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →
discrete frequency domain sample
Started by ●August 8, 2011
Reply by ●August 9, 20112011-08-09
Reply by ●August 9, 20112011-08-09
Fred Marshall <fmarshallxremove_the_x@acm.org> wrote:> On 8/8/2011 9:30 AM, Tim Wescott wrote:(snip)>> A four-point DFT isn't going to give you a very rich "frequency domain" >> representation. You're getting DC, half Nyquist, and Nyquist. That's >> hardly "frequency domain" at all.(snip)> I would have said:> DC, fs/4 fs/2 and 3fs/4 'cause I don't know what "Nyquist" means in this > context and yet I'm sure it doesn't mean 3fs/4!Among others, is the difference between DFT and DCT, and, for DCT, the boundary conditions in use. For DFT, it would usually be -fs/4, 0, fs/4, fs/2, but, being periodic, 0, fs/4, fs/2, 3fs/4 is fine, too. For DCT, where the boundary condition is that the derivative is zero, half cycles are allowed, and you get 0, fs/8, fs/4, 3fs/8. DCT is more often used at small sizes than DFT. -- glen
Reply by ●August 10, 20112011-08-10
On Aug 8, 9:52�am, "manishp" <manishp.p18@n_o_s_p_a_m.gmail.com> wrote:> When a 4 point DFT of a time domain signal x(n) is calculated, > > 1) I am assuming that each sample represents equivalent value (probably > called spectrum) in frequency domainEquivalent to what?> 2) As the sample value increases, the frequency it represents also > increasesMost people mean amplitude when they say "sample value", i.e., the number read from a table or analog-to-digital converter.> I have one question though - a sample in frequency domain basically implies > a single point in a complex plane (as specified by magnitude and angle).It's a frequency and phase after the DFT processing.> So, I am confused as to how this translates (or represents) into frequency > of any sort.Numbers can represent frequencies For example, 20 (Hz).> Somehow, I am not getting a complete picture.Four points aren't really enough to make a good picture. Try to work with 8 or 12, Watch out for aliasing. Jerry -- Engineering is the art of making what you want from things you can get.







