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

harminv parameter setting issue #11

Open
ihaveusernam opened this issue Apr 10, 2022 · 1 comment
Open

harminv parameter setting issue #11

ihaveusernam opened this issue Apr 10, 2022 · 1 comment

Comments

@ihaveusernam
Copy link

I use this software to calculate the frequency of a signal that is superimposed from three sinusoidal signals
y=sin(2*pi*t*12)+sin(2*pi*t*12.1)+sin(2*pi*t*12)
The length of the signal is 5.23s, the sampling interval is 0.01s, and the number of sampling points is 524;
I use the harminv :
harminv -t -0.01 10-15 < input.data
the result is:
frequency:
-12.1882 -12.0181 12.018 12.182
The frequency of 12.1 is missing,I wonder how harminv‘s parameter should be set to calculate these three frequencies

@joeybarreto
Copy link

I recommend reducing the frequency range so that you get better resolution, so like 11.9-12.2 instead of 10-15

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

2 participants