The Stack Overflow podcast is back! Listen to an interview with our new CEO.

# Questions tagged [frequency-domain]

The tag has no usage guidance.

194 questions
Filter by
Sorted by
Tagged with
5k views

### How to circularly shift a signal by a fraction of a sample?

The shift theorem says: Multiplying $x_n$ by a linear phase $e^{\frac{2\pi i}{N}n m}$ for some integer m corresponds to a circular shift of the output $X_k$: $X_k$ is replaced by $X_{k-m}$, where ...
11k views

### When should I calculate PSD instead of plain FFT magnitude spectrum?

I have a thirty-second speech signal that was sampled at 44.1 kHz. Now, I would like to show what frequencies the speech has. However, I'm not sure what would be the best way to do that. It seems ...
10k views

### Determining the noise floor of a signal in the frequency domain

Is there an accepted way of determining the noise floor of a signal by looking at it in the frequency domain? Is it a matter of averaging all the bins, or median, or some more complex calculation ...
229 views

### What is the type of noise in this image?

what reason could make the noise/effect in this image? Below is the original Thanks!
2k views

### What's the meaning of a complex zero/pole?

I have been studying signal processing and control for a while now, and I use Laplace and Fourier transforms almost everyday. Also another tools such as Nyquist or Bode plots. However, I had never ...
2k views

### Frequency Domain Filtering

Can you create a zero phase IIR filter by transforming its impulse response into frequency domain and only taking the magnitude of that frequency repsone? I have seen this in an open source project ...
26k views

### Amplitude of the Signal in Frequency Domain different from Time Domain

How does the Amplitude of the Signal is changed when taking the FFT of a Signal, Have a look, The amplitude had changed from 2 to 30, and Here is my code for generating the above output, ...
316 views

### Understanding the $\mathcal Z$-transform

I was studying $\mathcal Z$-transforms and found pretty good material on the topic, though I feel I do not have a proper understanding of the concept. Could someone help me clarify this? I know that ...
1k views

3k views

### How to compute fundamental frequency from a list of overtones?

Given a list of overtones (F1, F2, F3, etc), how do I compute the fundamental frequency? Can I do something like F2/F1=F1/F0? Is it the correct method to use?
2k views

### Why audio clipping produces harmonics?

Today I was talking to my collegue about clipping and he said that clipping produces harmonics in frequency domain as he showed me the clipped signal frequency response. However when I asked him why ...
719 views

### Chop out frequencies outside human hearing range

I have a bunch of audio files all sampled at 44100 Hz sample frequency. I am trying to remove all the frequencies which are outside the human hearing range (I use the following as reference: Frequency ...
4k views

### Estimate the Filter Coefficients of 1D Filtration (Convolution)

I have an output signal $y$ which is an input signal $x$ convolved $\star$ with an impulse response function $h$ with some added noise $n$ : $$y(t) = h(t) \star x(t) + n(t)$$ I know the input signal ...
1k views

### How does the number of frequency-domain sampling points influence the outcome of an inverse FFT?

Given some frequency-domain representation of an impulse response. How does the number of frequency-domain sampling points influence the outcome of an inverse FFT, if I keep the sampling frequency ...
390 views

### Time domain maximum from frequency domain data?

Is it possible to calculate the maximum value of a time-domain signal from frequency-domain representation without performing an inverse transform?
4k views

### Perform Convolution in Frequency Domain Using FFTW?

I'm trying to convolve two signals $x(n)$ and $h(n)$ in C by using the FFTW library's functions to perform a Fourier transform on each, multiply the appropriate complex components together, and take ...
612 views

### Spectral Leakage, Phase and other questions about FFT

I'm currently implementing a voice recognition algorithm using FFT and now some questions came up to me: Spectral Leakage: I know what it is, why it appears and how to solve it using a Windowing ...
123 views

### How to discard coefficients in the frequency domain without losing too much quality?

I was reading a text that shows that one can throw away 66% of the coefficients and gets an image that is still acceptable. I tried to replicate it using python (last example) and selectively ...
333 views

### Averaging over bins in frequency domain

I have a sound file with a computed spectrogram from 0 to 8000 Hz (spanning about 5 octaves). The spectrogram has 128 logarithmically spaced frequency bins. How can I reduce the number of bins so that ...
5k views

### Does the number of samples matter for FFT, and how to get a specific frequency visible?

If I have a signal that has 740 samples, the sampling frequency is 1000 Hz, and I take an FFT of length 1024, are the frequencies I get now 0, fs/1024, 2*fs/1000, ..., 511*fs/1024? I mean, do I get ...
1k views

### Why does the frequency in the DFT have to be an integer?

I don't know why the result of DFT and FFT in MATLAB like below images.. fs=128; t=0:1/fs:1-1/fs; x=cos(2*pi*3.5*t); X=fft(x); N=length(x); n=0:N-1; f=fs*n/N; plot(f,abs(X)/N); If I set the ...
1k views

### What does the negative sign mean in the image frequency domain?

When I transform an image from the spatial domain to the frequency domain, some frequencies are negative. What is the meaning of the negative sign? For example:
2k views

### Performing classification based on FFT results

It is perhaps important to start with the fact that I am a complete beginner in DSP. I have got a number of audio recordings (of sampling rate 22 kHz) - of bird songs - which I have been trying to ...
2k views

### Extract frequencies from PCM signal

I have an PCM (pulse-code modulation) signal. If I want to work out the frequency of a sample $x$ long, I count the number of peaks/troughs of the sample, and divide by $x$. The equivent dB of ...
974 views

### Is it possible to apply a frequency filter a time domain signal?

Is it possible to frequency filter a time domain signal, without converting the signal to a frequency domain.. My question comes in regards how MFCC according to wiki and other pages describe the ...
1k views

### Magnitude of the Gradient in Frequency Domain

I'm learning some basics of image processing. Recently I've read about image filtering and two-dimensional Fourier transform, because I'm preparing for exam. And I have one question I don't know ...
407 views

### How to calculate a delay between two signals in frequency domain?

Calculation of a delay between two signals is generally done by finding the maximum in the cross-correlation of the two signals (in time domain):  \tau_{delay} = \arg\max_\limits{t}(f(t) \star g(t)) ...
317 views

### Time-Frequency Analysis of Big Data - Data Size Reduction: averaging the most appropriate method?

Explanation: I would like to analyse the data from an experiment, which investigates the performance of a mechanical component using sensors, that has generated 2000 CSV files. Each file contains 513 ...
1k views

### Reflecting negative frequency to positive frequency

I am trying to synthesize sinusoids by using window function in the frequency domain. It involves: In frequency domain, shift the window to center around the peak frequency To generate a DFT frame, ...
761 views

### Image 2D Real Cepstrum with DFT, Is ifftshift Needed?

This is my testing image,it is taken from this paper: I tried to transform it into its real cepstrum domain with this simple MATLAB code: ...
11k views

### Convolution in the frequency domain

We often hear that "convolution in time is the same as multiplication in frequency", and vice versa, that "convolution in frequency is the same as multiplication in time". So in a typical windowing ...
148 views

### How to distinguish between the different frequency domains?

Sometimes the terms 'Fourier domain', 'complex frequency domain', 'Frequency domain' and 's domain' are used interchangeably. Take those answers here for example: http://answers.yahoo.com/question/...
429 views

### Meaning and unit of frequency in Laplace (Fourier) transform

Imagine transfer function obtained by Laplace transform, for example: $G(s) = \dfrac{1}{s+1}$ Now, I would like to do some frequency analysis, so I replace the $s$ with $\omega i$ (let's consider ...
1k views

### Filter - Spatial Domain Versus Frequency Domain

Note: This is a followup question of How can I create a custom band-pass filter?. Can you explain the following python source code?. Bandpass filter bank. Suppose, I have an equation ...
900 views

### The frequency response function (FRF) fails to detect the antiresonance of a system

I am trying to identify a vibrational systems by computing the frequency response function (FRF) of the system when a chirp signal is applied to its input. After comparing the FRF computed and the ...
949 views

### Compressing a time-domain signal in the frequency domain Matlab

I'm new to frequency domain analysis. Let's say I have a frequency domain representation from a time domain signal. What I want to do is taking frequencies with a low amplitude out of this frequency ...