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

Better amplitude results for single frequency #14

Open
matthewrankin opened this issue Jul 9, 2013 · 0 comments
Open

Better amplitude results for single frequency #14

matthewrankin opened this issue Jul 9, 2013 · 0 comments

Comments

@matthewrankin
Copy link
Member

Instead of simply returning the values of a single frequency bin, for frequencies that are off center a frequency bin, should I return a weighted-average of the adjacent bins?

For instance, if the FFT results have a frequency step size of 3 Hz starting at 0 Hz, and I'm wanting to know the amplitude of a signal at 1 Hz, should I return the weighted average of the amplitude found in the 0 Hz bin and the 3 Hz bin?

By weighted-average, I'm thinking in this case to return two-thirds amplitude from the 0 Hz bin and one-third amplitude from the 3 Hz bin.

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