David,
Starting with a pressure waveform in psi with 30 ms of data recorded at 1 MHz (30,000 data points). I lable the X axis as microseconds and Y axis as psi.
When I do an FFT of this signal, it produces a FFT plot of magnitudes from 0 to 500 KHz with one point (magnitude) about every 30 Hz ( n(1) = 16,385 ).
Q: Is there any way to increase the number of points so as to get 1 Hz resolution for waveforms sampled at 1 MHz? That is, n(1) = 500K. That would allow calculation of a standard 1 Hz frequency spectrum and, with added calculations, subsequent energy spectral densities etc. Or, is there a way to finesse that with existing settings?
John Sigurdson
FFT resolution and frequency spectrum
Moderator: DPlotAdmin
-
- Posts: 8
- Joined: Thu Mar 03, 2005 2:31 am
- Location: San Diego CA
FFT resolution and frequency spectrum
John Sigurdson
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
Only by increasing the number of points in your input. This isn't an arbitrary decision made by DPlot; it's how an FFT works. The frequency interval in the FFT will always be 1/(2*dt*(Nfft-1)), where Nfft = number of points in the FFT, always half the number of points in your input plus 1. For dt=1 microsecond and 30,000 input values, the frequency interval is 1/0.03 Hz = 33.33 Hz.Q: Is there any way to increase the number of points so as to get 1 Hz resolution for waveforms sampled at 1 MHz? That is, n(1) = 500K. That would allow calculation of a standard 1 Hz frequency spectrum and, with added calculations, subsequent energy spectral densities etc. Or, is there a way to finesse that with existing settings?

Visualize Your Data
support@dplot.com
support@dplot.com
-
- Posts: 8
- Joined: Thu Mar 03, 2005 2:31 am
- Location: San Diego CA