fisico32 <
[email protected]> wrote:
< Hello Forum, a question on how to tell if the DFT of a sampled signal is
< correct.....
< Take a 1-dimensional continuous time signal f(t), that exists over the
< time interval T, has a bandwidth BW. Its continuous Fourier transform has a
< certain functional shape.
< The discrete version of f(t) (let's call it f[t] ) has N samples given by
< T/delta_t where delta_t is the intersample distance (related to sampling
< frequency). The Fourier transform of the discrete version f[t] is the DFT
< which has N samples as well.
< In order to tell if the function f(t) has been sampled properly, I should
< compare the DFT to the actual, analytical Fourier transform of f(t). If the
< DFT and the Fourier transform look very similar, then the DFT is a good
< approximation to the FT, and f[t] has been sampled properly.
This is an unusual method, but it does seem that it would work.
< In the case that we don't know the analytical Fourier transform, how can
< we tell if the DFT is correct, or if it has been aliased due to
< insufficient sampling, without having the analytical Fourier transform as a
< reference? Aliasing implies that the higher temporal frequencies have been
< given an incorrect weight, usually larger than the actual one.....
Assuming the algorithm has been implemented properly, the DFT
(more likely FFT) will "work." The question you seem to be asking is,
how do you know that the sample rate was high enough. By the time
you get to the DFT it is too late to ask that.
Note also, that when you apply the DFT to a function that is not
periodic, the periodic boundary conditions give you aliasing in time.
That is, the transform you get is the transform that you would expect
if the input data were periodically extended. Sometimes that will
cause surprising results, other times not.
< Sometimes we don't have the analytical FT because the signal f(t) is a
< complicated function or we don't know, beforehand, the bandwidth of the
< continuous signal f(t)...
You could, for example, put the analog input through an analog high
pass filter with a cutoff somewhat near twice the sampling frequency.
That will tell you how much signal you have for aliasing.
If you want to do it digitally, you will need to sample at a much
higher frequency (maybe separate from the actual data sampling) and
the analyze those samples.
-- glen