Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lack of odd symmetry in imaginary component of fft #4

Open
MSchmeisser1 opened this issue Jul 23, 2021 · 0 comments
Open

Lack of odd symmetry in imaginary component of fft #4

MSchmeisser1 opened this issue Jul 23, 2021 · 0 comments

Comments

@MSchmeisser1
Copy link

MSchmeisser1 commented Jul 23, 2021

I am trying to implement an algorithm that takes advantage of the odd symmetry that occurs in the imaginary bit of an fft of a real signal.
However when doing an fft of a simple cosine I correctly see even symmetry in the real part but no signals at all in the imaginary part. A sanity check in octave shows that an fft of a real signal should give even symmetry in the real part and odd symmetry in the imaginary part.

Attached is a plot of a 4096 point fft of a 1200hz cosine wave sampled at 4096hz.
The purple plot is the real bit, and the teal is the imaginary bit offset for clarity.

Am i misunderstanding something?

plot_cosine_1200hz

Here is the same in octave.
plot_cosine_1200hz_octave

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant