This commit is contained in:
quentin.perret 2022-06-16 14:44:31 +02:00
parent e23d744cdc
commit 479289a365
2 changed files with 2 additions and 3 deletions

Binary file not shown.

View file

@ -18,12 +18,11 @@ void powerCalculation(long **p, double powerArray[]){
powerArray[i] = 0;
while(j < nRow){
printf("%d , %d , %d , %d\n" , p[j][i], p[j+1][i] , i ,j);
printf("%d , %d , %d , %d\n" , p[j][i] ,powerArray[i] , i ,j);
powerArray[i] + pow(p[j][i],2);
j++;
}
powerArray[i] *= invTimeBandWidth;
powerArray[i] /= nRow;
}
}