Valeur débit fix

This commit is contained in:
Remi Boure 2023-03-24 08:39:28 +01:00
parent 6b9a526e49
commit 7719de7fdb

View File

@ -28,7 +28,7 @@ public class User {
for(int j = 0; j < bandwidthTable[i].length; j++) {
double h = 1 * Math.sqrt(-2 * Math.log(1 - random));
double gain = h * Math.pow(10, random * 1/10) * Math.pow(1 / this.distance, 3.5);
double spectralEfficiency = (43 * gain) / (15000 * (-174));
double spectralEfficiency = (20 * gain) / (15000 * (3.9*Math.pow(10, -21)));
double mkn = Math.log(1 + spectralEfficiency) / Math.log(2);
this.bandwidthTable[i][j] = mkn;
}