Pages: 1 [2]   Go Down
Author Topic: Playing with FFT  (Read 6667 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Edison Member
*
Karma: 31
Posts: 1417
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
for (i=0; i<511; i++) {
  k = 1023*sin(2*pi*f/i);
}

Divide by zero. And the time difference between samples, since it is 1/i, will not be constant.

Pete
Logged

Where are the Nick Gammons of yesteryear?

Rapa Nui
Offline Offline
Edison Member
*
Karma: 53
Posts: 1990
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Corrected. Thanks.
Logged

Pages: 1 [2]   Go Up
Jump to: