Questions tagged [dft]

The Discrete Fourier Transform (DFT) is a mapping between a finite set of discrete points in a (primal) domain (time, space) and the dual frequency domain. DFT requires an input sequence which is discrete, such as a sampling from an analogue audio signal.

Filter by
Sorted by
Tagged with
2 votes
1 answer
61 views

Reconstructing the original signal from its DFT

Hi I am a newbie to signal processing and I am trying to better understand how inverse DFT works under the hood. Consider this signal and its DFT: (Source) For the sake of this post, let's assume ...
John Davies's user avatar
4 votes
0 answers
43 views

Discrete Fourier Transform of the Gaussian

Cross-posted from here I encountered the following question in a Digital Image Processing examination: Find the 2D DFT of $\frac{1}{2 \pi \sigma^2} e^{-\frac{(x - x_0)^2 + (y - y_0)^2}{2 \sigma^2}}$ ...
kaddy's user avatar
  • 41
0 votes
0 answers
30 views

Driving bandpass DSM with tone close to full-scale - stability issue?

I am experimenting with Dr. Schreier's DSM toolbox for MATLAB. I stumbled over a strange phenomenon when having a look at a bandpass DSM in demo-script 2. If I increased the amplitude of the test-tone ...
MisterFilter's user avatar
1 vote
0 answers
18 views

please help me solve the question which proving X[N-k] is the complex conjugate of X[k] [closed]

Show for the DFT that if all x[n] are real, then X[N - k] is the complex conjugate of X[k] for k > 0. (i.e. if X[k] is a + bi, then X[N - k] is a - bi)
Reece's user avatar
  • 11
0 votes
0 answers
18 views

How to derivate the DFT of the time-domain samples?

I am currently reading a paper titled 'Channel Estimation and Data Detection for Insufficient Cyclic Prefix MIMO-OFDM' published in IEEE Transactions on Vehicular Technology. As you can see below, the ...
David's user avatar
  • 1
2 votes
1 answer
84 views

Finding Discrete Fourier Transform (DFT) for different DFT size

$N$ is an even integer, $x[n]$ is a finite length signal over the interval $n \in [0,N-1]$, and $X[k]$ is the $N$-point DFT of $x[n]$. Analytically find the DFT of sequence below in terms of $X[k]$. ...
nexxterp's user avatar
1 vote
0 answers
51 views

Is `fft` always the best choice?

I hope this is the right place to ask this question since it is partially a note which might help others. Until recently, I always used the fft-algorithm ...
TheIdealis's user avatar
1 vote
1 answer
90 views

What's the distribution of the DFT of a real-valued, zero-mean, normally distributed random vector?

Suppose $X$ is a real-valued N-dimensional Gaussian vector, $X \sim \mathcal{N}(\mathbf{0}, C_X)$. The discrete Fourier transform can be obtained by left-multiplying with the unitary DFT matrix, i.e. $...
DangerousTim's user avatar
1 vote
0 answers
55 views

Insight behind DCT-III (Type 3)

Following the sketch from Wikipedia 1, I am able to carry out DCT-II with DFT by manipulating the input signal: ...
diegor's user avatar
  • 181
4 votes
2 answers
430 views

FFT: Sinewave frequency displacement when zero-padding

I am creating a signal consisting of a single-cycle sine wave in Python. This signal has 32 samples. I am using a sampling rate Fs of 48 kHz so the signal's frequency is 1500 Hz. The signal looks like ...
Dani S.'s user avatar
  • 43
0 votes
1 answer
81 views

Why dft sine plot is so strange

Why does my dft plot of $\sin(x)$ look so strange? It goes to negative and then inverts closer to the edge. ...
Alexander's user avatar
1 vote
1 answer
76 views

Practical Implications of DFT Eigenvector Formulations

Different sets of eigenvectors for the Discrete Fourier Transform (DFT) are well-established. Are there any potential practical implications associated with deriving explicit formulations for these ...
ABB's user avatar
  • 345
1 vote
1 answer
39 views

Conjugate symmetric: 3D fourier transform dirmension

I have a real value input 3D tensor with the shape of `(H,W,D)=[8,8,20]', where H, W, and D represent height, width and depth in (z dimension), respectively. When converting to the DFT, what will be ...
S.EB's user avatar
  • 161
0 votes
0 answers
17 views

Use DFT twice for MFCC extraction engine or use both DFT and DCT?

I'm in the process of designing an MFC extraction engine on an FPGA using Verilog. My primary concern is whether I can implement the DFT twice in the MFCC calculation process: once before applying the ...
ALS's user avatar
  • 1
1 vote
1 answer
39 views

Properties of DFT of Circularly Symmetric 2-D Matrices

I'm very new in image processing and trying to get a grasp in the basic concepts in 2-D DFT. As far as I understood, DFT of a circulant matrix should also be a circulant matrix. But when I define a ...
Deniz Açıkgöz's user avatar
0 votes
1 answer
50 views

How are subcarrier symbols modulated into an anaolog OFDM signal?

I am currently researching about OFDM models (formulae) that show how the individual data symbols (eg., QAM symbols) are converted to OFDM symbols and how the OFDM symbols are turned into an analog ...
Cornelius's user avatar
0 votes
0 answers
44 views

How to do FFT on I and Q DATA in Python

I am Working on a Satellite data, where information is stored in a Raw data exchange format .prd file, i have extracted the information in csv file where i got the I and Q data in decimal, now i ...
Ankit upadhyay's user avatar
1 vote
0 answers
62 views

Where are DC, positive frequencies, Nyquist and negative frequencies are located in DFT data for zero padded input

It is still not so clear for me about DFT data and setting up data for IDFT wanted to ask few questions here. complex input-data Where are DC, +ve, Nyquist, -ve frequencies are located in DFT data ...
jomegaA's user avatar
  • 655
3 votes
1 answer
180 views

How Best to Characterise a Window Function

How do I characterise my window function? Do please forgive me here as I am more a practical than theoretical person. I have invented a window function which I use prior to discrete Fourier transforms....
Richard's user avatar
  • 101
0 votes
0 answers
28 views

How can I identify possible tonal maskers from frequency and DFT coefficients?

I have a question given in my homework and I have no idea how to even approach it: Given I have 5 frequencies that are inside the zone of a bark from 200-300 HZ ...
Sotiris Siatiras's user avatar
0 votes
0 answers
32 views

Winograd's DFT of prime power, size 27 (3^3) needed

I need to derive code - or preferably see code of already derived - for Winograd's prime power DFT of size 27. Found the original (1978) paper, but lack the background in number theory etc to be able ...
Topi Rinkinen's user avatar
1 vote
1 answer
99 views

N-point DFT of window function

I am currently choosing a window function to analyze signals in frequency domain. While I understand the reasoning behind using a window function and what to look for concerning main lobe and side ...
Geralt von Riva's user avatar
1 vote
0 answers
51 views

Doubt on linear and circular convolution derivation

[I'm very new to this website and to DSP in general as well! :)] Hello everyone! I have a question on the derivation of the circular convolution. As far as I understand, we can define a circular ...
edoverg's user avatar
  • 11
2 votes
2 answers
730 views

Why am I getting 2 frequency spikes in a mono tone signal?

I have a single tone sinusoid, and its fft in scilab is giving me double spikes, why is that? Please explain me the concept of why is it happening. ...
Vibhav shivadeker's user avatar
1 vote
1 answer
70 views

Meaning of frequency in DFT

I am trying to get a better understanding of DFT of an image. Assume that we have an image of size $N\times N$, denoted as $f(m, n), m, n = 0, 1, \ldots, N$, and its Fourier transform $F(k, l), k, l = ...
Avec's user avatar
  • 43
2 votes
2 answers
352 views

Amplitude scaling of window functions for FFT

I need to perform an FFT on a signal sampled with 20 kHz and a measurement time of about 10 seconds. The signal contains frequencies of up to 2 kHz but I am mainly interested in the bandwidth of 0 to ...
Geralt von Riva's user avatar
0 votes
0 answers
50 views

High Resolution Spectral Analysis

Inspired by this post and this video I have been playing around with different methods in Matlab to do spectral analysis. In the past I have simpy used digital fourier transforms and played around ...
Matthias La's user avatar
1 vote
1 answer
101 views

Effect of windowing on signals

I have an input signal of frequency 1000Hz. Sampling frequency=16kHz. I compute the FFT on 128 input samples and plot the magnitude spectrum. I am not doing the normalization by 128. My two sided ...
Deepa's user avatar
  • 293
0 votes
1 answer
80 views

Unwindowed STFT of sine, closed form solution and insights (sliding FFT)

I seek to calculate, mathematically, the unwindowed Short-Time Fourier Transform of $$ \cos(2\pi f t + \phi) $$ i.e. any arbitrary real-valued sine: any frequency, duration, phase shift, and number of ...
OverLordGoldDragon's user avatar
1 vote
0 answers
94 views

How can the DCT be used for bandlimited interpolation?

I know the discrete cosine transform (DCT) is used for compression, but can anyone give an example of how to use it for bandlimited interpolation? One way might be zero-padding in the DCT domain and ...
Gillespie's user avatar
  • 1,664
2 votes
1 answer
141 views

Proof for the energy correction factor of DFT

I am looking for a mathematical proof for the energy correction factor in conteext of windowed discrete fourier transform. In Spectrum and spectral density estimation by the Discrete Fourier transform ...
mocquin's user avatar
  • 151
0 votes
0 answers
37 views

Confusion about convolution [duplicate]

I'm facing confusion about the definition of the convolution between two discrete periodic signals. Basically, the definition of convolution between s and ...
Franck Might's user avatar
2 votes
1 answer
85 views

Convolution error when using DFT for non-periodic functions

I need help understanding why FFT-based computation of convolution on a finite domain, between two non-periodic functions often gets it wrong. Specific questions: (1) why does FFT-based computation ...
pyatsysh's user avatar
0 votes
2 answers
69 views

DFT modulus of a sine, closed form solution and insights

A closed form solution to $$ X[k] = \texttt{DFT}\{\cos(2\pi f t + \phi)\} $$ confirmed many known properties of a finite sine's spectrum, also revealed new ones. Can the same be done for $|X|$, or $|X|...
OverLordGoldDragon's user avatar
0 votes
1 answer
63 views

Effect of sampling rate and duration on discrete parameters of sine (spectrum)?

The DFT of $$ \cos(2\pi f t + \phi) $$ peaks at $k=\pm f$ if $t = \frac{1}{N}[0, 1, ..., N - 1]$ (for integer $f$, & within Nyquist). What about other $t$? What if we double the sampling rate or ...
OverLordGoldDragon's user avatar
2 votes
1 answer
95 views

Does subtracting a phase from the frequency components of a DFT output result in rotation?

I'm currently reading a paper (Page 23 of the PDF) about the application of the Fourier transform to standardize some climatic data to easily compare them. I have the following text : 2.3 ...
Franck Might's user avatar
2 votes
3 answers
774 views

Why does spectrum magnitude decay away from DC for positive signals?

I would like to understand why the second frequency component usually has the greater magnitude within the range [1, (N/2)], i.e why (I remove the DC component and ...
Franck Might's user avatar
1 vote
2 answers
105 views

STFT needs circular shift or not?

In some textbooks and websites, circular shift operation is done before doing FFT of windowed data, in the explaination, circular shift is to ensure zero-phase. But in other textbooks and websites(I ...
Xiong's user avatar
  • 41
9 votes
3 answers
1k views

Why do sinusoids have DFT magnitudes of N / 2 while we typically normalize by N?

I'm wondering why evaluating a sinusoid that matches one of the frequencies of the DFT basis functions has a magnitude of $N / 2$. Using this definition of the Discrete Fourier transform, it looks ...
bluenote10's user avatar
1 vote
3 answers
253 views

Increasing STFT resolution by repeating the window? Ways to improve STFT resolution?

In theory of FT(Fourier transform) and STFT(Short Time Fourier Transform) it is said that "A narrower window gives good ...
google dev's user avatar
0 votes
0 answers
30 views

non-integer phase estimation after dft(using psf)

I'm studying PSF function and the way to get the most accurate phase estimation at the non-integer locations. My professor showed me a slide in lecture. Rotate some integer coordinate in fourier ...
Hyun Bin CHo's user avatar
0 votes
0 answers
74 views

How many samples are needed to compute an DFT?

Given a signal $x(t) = \frac4{10}\cos(800πt) + \frac12\cos(820πt) + \frac1{10}\cos(880πt)$ and knowing that the sampling frequency is $4000$ Hz. How many samples are needed at least to represent the ...
Toxicone 7's user avatar
0 votes
1 answer
93 views

How to produce a causal, linear phase filter kernel with an arbitrary magnitude frequency response

I have been reading The Scientist and Engineer's Guide to DSP to learn how to create filter kernels with an arbitrary frequency response (I design the magnitude response by hand). The method proposed ...
Rob Allsopp's user avatar
0 votes
0 answers
26 views

How to determine the size of DFT bins to implement a bandpass filter with FFTW on SDR

I'm implementing a bandpass filter to isolate the amplitude of a UHF FM signal with a 12.5Khz bandwidth. I'm having difficulty isolating the correct bins and bin spacing, given my DFT to isolate the ...
Alex Turner's user avatar
2 votes
1 answer
89 views

Custom DFT filter adding odd sound to audio

I am attempting to design a custom filter for equalizing an audio track using the DFT. I am newish at this, but my understanding from the DSP Guide is that you can do this with the knowledge that ...
Rob Allsopp's user avatar
1 vote
1 answer
77 views

How to solve this even symmetry question?

I have my DSP final soon and I have been reviewing some past exams. Here is a question from one of these exams: Let x[n] be a real valued finite duration signal in n $\in [0,N]$. Another signal $x_1[...
user avatar
1 vote
1 answer
70 views

Is it possible to consider circular convolution in case of appending the guard interval as a suffix instead of a prefix

In OFDM system, the cyclic prefix is added into the head of time-domain signal to enable the circular convolution with the channel, and then perform one-tap frequency-domain equalization at the ...
Sajjad's user avatar
  • 165
2 votes
2 answers
69 views

What is the reason my DFT of a convolution of signals with disjoint spectrums is not zero everywhere?

Assuming the convolution in the time domain produces a signal which spectrum is the product of individual spectrums, when the two convoluted signals are sinusoids with different frequencies, the DFT ...
mins's user avatar
  • 443
2 votes
1 answer
185 views

Can time aliasing cause peaks?

For the following I use the terms “time domain signal” and “frequency domain signal” as a Fourier Transform pair. The question is for generalized cases of continuous-time signals that once sampled in ...
Dan Boschen's user avatar
  • 48.9k
0 votes
1 answer
53 views

Can we do down sampling by taking fft, omitting samples on the ends of the spectrum, and then taking inverse fft?

Suppose that we have a signal with a length of 4096 and want to down sample it by a factor of 2 and obtain a signal with a length of 2048. Suppose that the the maximum frequency content of the signal ...
alireza's user avatar
  • 117

1
2 3 4 5
22