Pages: 1 [2]   Go Down
Author Topic: Playing with FFT  (Read 7282 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Edison Member
*
Karma: 43
Posts: 1550
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: 60
Posts: 2061
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Corrected. Thanks.
Logged

Pages: 1 [2]   Go Up
Jump to: