about computing fft in wavenumber domain
2 views (last 30 days)
Show older comments
I have signal distributed in space domain (x,y,z). and I want to calculate its wavenumber doain for (x,ky,z) domain. how can I carry out this task(without using a do loop over all of y values)?
0 Comments
Accepted Answer
David Young
on 7 Nov 2011
Use
fft(data, [], 2)
5 Comments
Walter Roberson
on 7 Nov 2011
The dimension refers to the matrix dimension index in standard matlab order -- columns first, rows second, "pages" third, unnamed entities for the higher dimensions. It is logically equivalent to using ":" as the dim'th element in indexing the vector with the other elements held constant for any one operation.
It is the value 2 that indicates working across rows, rather than just the presence of a parameter at that location.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!