I have a ground-based magnetic data in txt file taken every second and I want to plot its Fourier Spectra.
And I notice the spectrogram equation on MatLab need this parameters (window, noverlap, nfft, Fs) which I don't know.
And I notice also that I should do the FFT on my data first before plot its spectrogram, but my data is not discrete and FFt for the discrete data, anyone know how I can do this?
data is discrete by definition.
spectrogramandfftgive different view s of the data.spectrogramwould be appropriate for a STFT short-time Fourier transform, in case you want to look at successive, overlapping windows of time.fftis the methodspectrogramwill use to compute the transform..
Fsis the sampling rate, which you say is once per second, so 1 Hz. Here is one way to view the spectrum,Good luck!