Guest User

Untitled

a guest
Oct 17th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.34 KB | None | 0 0
  1.  while(fread(&aux, sizeof(unsigned char), 1, arq)>0)
  2.     {
  3.         observacoes[i] = aux;
  4.         i++;
  5.     }
  6.    
  7.     fclose(arq);
  8.    
  9.     fourier = Fourier(observacoes,tam);
  10.     for(i=0;i<tam;i++)
  11.     {
  12.             if((__real__ fourier[i]<=0.0) || (__imag__ fourier[i]<=0.0))
  13.             numero++;
  14.     }
  15.     printf("%d\n",numero);
Add Comment
Please, Sign In to add comment