after sampling I have value of t & X(t) like
375.020000 -0.754661
375.030000 -0.755227
375.040000 -0.755841
375.050000 -0.756501
375.060000 -0.757207
375.070000 -0.757960
375.080000 -0.758759
375.090000 -0.759604
375.100000 -0.760494
375.110000 -0.761431
375.120000 -0.762414...
after sampling I have value of t & X(t) like
375.020000 -0.754661
375.030000 -0.755227
375.040000 -0.755841
375.050000 -0.756501
375.060000 -0.757207
375.070000 -0.757960
375.080000 -0.758759
375.090000 -0.759604
375.100000 -0.760494
375.110000 -0.761431
375.120000 -0.762414
375.130000...
I have a f(n*t) vs t data areay how to find out its (DFT) Fourier transform in c. I find every time that every program needs its real and imaginarry part. but i have only magnitude. please help me out to find DFT of these data .