Frequency to wavelength is basic maths:
c = Lf
where c is the wave speed, L is wavelength and f is the frequency.
The wavenumber relates to wavelengt in space the same way
angular frequency relates to wave period in time:
k = 2*pi/L = 2*pi*f/c
As you can see, you do need to know the wave speed c to be able
to convert from L to k.
Rune
You can not get from time or frequency domain (t or f), to space or
wavenumber domain (L or k) without using the wave speed, c.
If you don't have the speed of the wave, you can't do the conversion.
Rune
What physical phenonema are you trying to characterize?
I don't understand how or why you are trying to establish
a relationship between the sampling frequency of a time
series and wavelength.
Hope this helps.
Greg
Ashu
That's what you said before... it doesn't help.
You didn't answer my question...that doesn't help either.
So, let me guess that your real problem is spatial and not temporal.
Accordingly, you want to know how to use FFT to yield a spatial
power spectrum.
Make the following analogies:
Temporal variations: cos(wt),sin(wt) w*t = 2*pi*f*t
Spatial variations: cos(kx),sin(kx) k*x =
(2*pi/lambda)*x
Hope this helps.
Greg
Do you mean that you have SPATIAL data you want to plot in spectrum
domain? You mentioned "time series analysis" before, which may have
been a bit confusing.
You need the spatial sampling period Dx. Insert Dx for T in the
spectrum equations, and you get what I suspect you want:
N = length(x);
Dx = 10; % [m]
k_vec = [0:N-1]*2*pi/Dx;
k_spectrum = fft(x);
Pk = abs(k_spectrum).^2;
plot(k_vec,Pk)
and you should have the spatial power spectrum Pk plotted
as function of the wavenumber k.
Rune
Wavenumbers and wavelengths describe sinusoidal variations with
space/distance while frequencies describe sinusoidal variations with time.
They can be related to one another only when you have sinusoids varying with
space and time. The propagation speed (of the phase fronts) is how you
cnooect them together, as others have already said.
You haven't told us what your application is.
If it's turbulence, then you should use Taylor's hypothesis to convert
frequency to wave number. In the freestream, use the temporal mean
velocity, but if you are close to a wall, you need to use the eddy
velocity.
Interestingly, G I Taylor assumed this relationship in order to convert
measurements from wave number to frequency. He was demonstrating the
validity of the Weiner-Kinchine relationship between autocorrelation
and the spectrum (50 years prior to FFT).