I have a seismic accelerogram. I tried to apply the Fourier Transform to interpolate function, but dosn't work. So, i applied the Fourier[signal,FourierParameters->{-1,-1}], when i Plot (ListLinePlot)




I obtained a Incorrect graphics (no sense ).


Fourier Transform Obtainded By Fourier[]

Can I solve It?

thanks in advance

  • $\begingroup$ I haven't looked at your data, but I think it must be 2d, that is, a list of lists. $\endgroup$
    – mikado
    Oct 16, 2016 at 11:02
  • $\begingroup$ Have you got time mixed in with the data? The input to Fourier should be a list of the data without the time coordinate. $\endgroup$
    – Hugh
    Oct 16, 2016 at 11:02
  • $\begingroup$ @hugh so I must pass to "Fourier[]" only time coloumn? If yes, how plot The diagram frequency/Abs[FT]? Thx $\endgroup$
    – plus91
    Oct 16, 2016 at 11:07
  • $\begingroup$ @mikado I must verify but i think it is a list with two coloumn (time and acc). I import it by signal=Import["elcentro.dat"] and Then plot it by " ListLinePlot[signal]. Thx $\endgroup$
    – plus91
    Oct 16, 2016 at 11:10
  • $\begingroup$ Just use the ordinates. I put some information on using Fourier here. $\endgroup$
    – Hugh
    Oct 16, 2016 at 11:12

1 Answer 1


Like already pointed out in the comments: only use the ordinate values.


With a little bit more code, we can visualize it very well:


The Powerspectrum

  • $\begingroup$ Julien Kluge, thx for your solution ;) $\endgroup$
    – plus91
    Oct 16, 2016 at 20:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.