Conversion of space-time data to wavenumeber-time data
4 views (last 30 days)
Show older comments
I have a field data(space-time) that is dependent on space and time.I need to take fft or convert the space time data into wavenumber-time data. Can someone help me out.
0 Comments
Answers (1)
Bjorn Gustavsson
on 21 Jun 2021
Edited: Bjorn Gustavsson
on 21 Jun 2021
Provided that your data is sampled on a regular spatial grid it should be as simple as to perform a (perhaps windowed) fft in the spatial dimension.
HTH
3 Comments
Bjorn Gustavsson
on 21 Jun 2021
Yes. Read the help and documentation for fft - that function by default calculates the fft of the first non-singleton dimension (that is typically the column) of an array. You can explicitly tell the function what dimension to do the transform on/in/for. From the help to fft:
FFT(X,[],DIM) or FFT(X,N,DIM) applies the FFT operation across the
dimension DIM.
This should clarify your question.
HTH
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!