[an error occurred while processing this directive]
|
wRe, wIm - массивы по 33 значегия,
Array - 64 точки
Length - 64
cosarr sinarr - без меня понятно.
float value;
float Re, Im;
int j;
value=NewValue-Array[i];
Array[i]=NewValue;
i++;
if (i>=Length) i=0;
for (j=0; j// calculate new FT
for (j=0; j{
Re=wRe[j]*cosarr[j]-wIm[j]*sinarr[j];
Im=wRe[j]*sinarr[j]+cosarr[j]*wIm[j];
wRe[j]=Re;
wIm[j]=Im;
}
E-mail: info@telesys.ru