New answers tagged

0 votes

How to minimize RMS calculation error due to sampling?

Here are some more ideas. If your frequency is not drifting to much you can easily choose a better frame size. In your example you get and error of about -60dB for a frame size of 320 or 321. The &...
Hilmar's user avatar
  • 41.4k
1 vote

How to minimize RMS calculation error due to sampling?

There's many ways to approach this, but the classical "estimation of power in a system having data on harmonic oscillations" would be too just apply a quadrature mixture to baseband to it ...
Marcus Müller's user avatar
2 votes
Accepted

Sampling a sinusoidal signal smaller than Nyquist rate

As per the suggestion by @Dan Boschen, I am converting my comments into a short answer. For simplicity, ignore units, so the 50 kHz signal frequency becomes 50, the 7 kHz sampling frequency becomes 7 ...
Ed V's user avatar
  • 775
5 votes

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

You're experiencing a basic property of the DFT of a real input signal, that it is conjugate symmetric: Let $x[n], \, n = 0\cdots N-1$ be a real-valued sequence, then the DFT coefficients are ...
Jdip's user avatar
  • 4,706
4 votes
Accepted

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

Welcome! Actually, in your case windowing only affects the width of your pulse (as you see, your peaks are not impulsive). You can see the difference by just increasing the temporal length of your ...
northgeist's user avatar

Top 50 recent answers are included