2.82 SUI bugfix and Rx gain

This commit is contained in:
alex
2016-07-15 21:56:50 +01:00
parent adac44f2f3
commit 12e22c1f22
6 changed files with 42 additions and 26 deletions

View File

@@ -43,7 +43,7 @@ double SUIpathLoss(float f, float TxH, float RxH, float d, int mode)
double A = 20 * log10((4 * M_PI * d0) / (300 / f));
double y = a - (b * TxH) + (c / TxH);
double Xf = 6 * log10(f / 2000);
double Xh = XhCF * log10(RxH / 20);
double Xh = XhCF * log10(RxH / 2000);
return A + (10 * y) * (log10(d / d0)) + Xf + Xh + s;
}