Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 154
5 votes
Accepted

Extract Sine Phase and Amplitude - accurate and robust method

Regarding your Edit #2: It is not true that phase estimation requires that frequency be at a bin center. However if a frequency estimate requires interpolation between FFT result bins, so does any …
hotpaw2's user avatar
  • 35.7k
4 votes

Do DCT results contain phase spectrum?

A DCT is equivalent to a DFT of real data that is doubled and mirrored, thus rendering it symmetric. The DFT of any symmetric real signal has a phase of zero (its all cosines, no antisymmetric sine c …
hotpaw2's user avatar
  • 35.7k
3 votes

Extracting the carrier signal from AM

To extract only the carrier with a band-pass filter, the filter pass-band has to be narrower than the modulating frequencies, or else some of the envelope modulation will "leak" through the filter. A …
hotpaw2's user avatar
  • 35.7k
2 votes

Adequate representation of frequency domain amplitude/magnitude of FFT of a signal

Many audio FFT visualizations use log(magnitude) instead of linear, as that makes it easier to find a scale that makes data visible a graph. The energy contained in band that contains multiple FFT …
hotpaw2's user avatar
  • 35.7k
2 votes
Accepted

What is the reason for "random" spikes in amplitude of a guitar waveform?

Those sources can then resonate and exchange energy back to the strummed string, modulating the vibration's amplitude. …
hotpaw2's user avatar
  • 35.7k
2 votes

Amplitude of the fft is less than what is expected

The amplitude peak is hidden between FFT result bins for frequencies that are not exactly integer periodic in the FFT's length. But you can interpolate to find the results for those frequencies. …
hotpaw2's user avatar
  • 35.7k
2 votes

50Hz sine wave precise amplitude measurement

If you have enough samples for an FFT, instead of an FFT, try a least squares fit for the 3 parameters (frequency, phase, amplitude) of a pure sinusoid to that sample set. …
hotpaw2's user avatar
  • 35.7k
1 vote

Peak to peak amplitude of sum of sinusoidals (harmonic frequencies)

For periodic signals, the maximum peak-to-peak amplitude is dependent in the relative phase of each harmonic, as well as their magnitudes. Do you have that information? …
hotpaw2's user avatar
  • 35.7k
1 vote

Why do we read that Hilbert transform can be used for envelope detection?

Using a Hilbert transform with a sufficiently narrow-band signal, the low pass filter may not be needed even for continuous envelope estimation.
hotpaw2's user avatar
  • 35.7k
1 vote

how to make fft ignore phase shift when only interested in magnitude

You can't make an FFT ignore phase (for strictly real input), except for signals which have frequencies that are exactly periodic in the FFT window length. Otherwise, you will have to interpolate to …
hotpaw2's user avatar
  • 35.7k
1 vote

Logaritmic amplitude squarewave

The library function log of zero results in a NaN (not a real number, -inf). So the log of a square with a base of zero can't be plotted.
hotpaw2's user avatar
  • 35.7k
0 votes

Why FFT does not retrieve original amplitude when increasing signal length

The maximum magnitude has to be interpolated for any sinusoid that is not exactly periodic by an exact integer number of periods in the FFT length. An interpolation is necessary because those frequen …
hotpaw2's user avatar
  • 35.7k
0 votes

Tuning a radio to a certain frequency

A mathematical theorem (named after Fourier) says that (non-pathological) signals that are "not a sine" are, for all practical purposes, identical to (or can be accurately described as) the sum of a b …
hotpaw2's user avatar
  • 35.7k
0 votes

Amplifying part of a signal

No. Amplifying only the real part of an FFT result will only amplify signals that are symmetric in the FFT window. What if your desired tone happens to be anti-symmetric in that window?
hotpaw2's user avatar
  • 35.7k
0 votes

Relationship between Fs (the Nyquist frequency), and the frequency used with a sine wave

Other frequencies will show rectangular windowing artifacts (so called "leakage") which will scallop the peak bin amplitude. … There do exist interpolation methods to correct for the amplitude of these between-FFT-bin-center frequencies. …
hotpaw2's user avatar
  • 35.7k

15 30 50 per page