Subversion Repositories svnkaklik

Compare Revisions

Ignore whitespace Rev 649 → Rev 650

/programy/C/ix86/echo/SW/sonar/src/sonar.c/sonar.c
370,10 → 370,10
 
m=0;
printf("Building echo map\n"); // compute map from left and right correlation data
for (i=0;i < period_size; i+=10)
for (i=0;i < period_size; i++)
{
a=k*i;
for(j=0;j < period_size; j+=10)
for(j=0;j < period_size; j++)
{
b=k*j;
echo_map[m]=(-a*a+b*b+Xl*Xl+Xr*Xr)/(2*Xl-2*Xr);