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

Noise Amplitude Calculation #10

Closed
garverp opened this issue Oct 5, 2017 · 2 comments
Closed

Noise Amplitude Calculation #10

garverp opened this issue Oct 5, 2017 · 2 comments

Comments

@garverp
Copy link

garverp commented Oct 5, 2017

I think the noise amplitude calculation should be:
10^(-snr_db/20.0), but the code has: 10^(-snr_db/10.0)

It looks like all the transmitters scale to an average magnitude squared P_avg=1. Then SNR_lin = P_avg/sigma^2, so sigma^2 = 1/snr_lin = 1/(10^(-snr_db/10)) => sigma = sqrt(1/(10^(-snr_db/10))) = 10^(-snr_db/20). The dynamic channel model takes in the standard deviation not the variance.

What am I missing?

@osh
Copy link
Member

osh commented Jan 9, 2018

In newer versions we clearly us Es/N0, this will be released soon

@osh osh closed this as completed Jan 9, 2018
@garverp
Copy link
Author

garverp commented Jan 9, 2018

OK, but does that mean the results will change from previously published papers using this code?

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