Skip to main content
8 events
when toggle format what by license comment
Jan 17 at 14:28 vote accept In the blind
Jan 17 at 13:10 answer added Dan Boschen timeline score: 2
Jan 17 at 7:51 comment added In the blind The problem is that this code pads 17 zeros instead of 16. But anyway, I tried this with a pure tone sinewave, and it seems to work, kind of. The interpolation sort of works, but there is a small phase difference between the interpolated signal and the original after some time passes.
Jan 16 at 23:33 comment added Jdip To second @Hilmar‘s comment, Try with a pure sine wave with your f_1 frequency, you’ll see that your implementation is correct
Jan 16 at 20:12 comment added Hilmar I can't tell what "number of zeros" is supposed to be but most likely the difference between your results and what you expect is spectral leakage. Your second frequency isn't in the center of an FFT bin, so you get leakage over all bins including Nyquist. If Nyquist is non-zero, zero padding in the frequency domain doesn't work without artifacts.
Jan 16 at 20:00 comment added Jdip "the number of zeros is not correct": what do you mean? what do you get? and what do you expect?
Jan 16 at 17:55 comment added robert bristow-johnson I dunno if it's a British thing or something else, I just wish that we would stay away from "$f(t)$" or "$F(\omega)$" or "$f$" anything so that this symbol can be reserved for "ordinary frequency". $$ f \triangleq \frac{\omega}{2\pi} $$ The only "$f(t)$" we should see is if there is an instantaneous frequency that varies with time.
Jan 16 at 17:30 history asked In the blind CC BY-SA 4.0