Is fftn() and ifftn() equivalent to a 3D Fourier Transform in this case?
8 次查看(过去 30 天)
显示 更早的评论
I'm trying to solve the 3D Heat Equation with Fourier Transforms. I'll have a 3D matrix with solutions u(x,y,z,t_n) at each node (created with meshgrid()). I then wish to find the 3D fft of that solution matrix to get the associated Fourier coefficients (which will be functions of time). Then I wish to forward those coefficients in time, and take the 3D ifft to recover the solution u(x,y,z,t_n+1) at the next time step. Is fftn() and ifftn() equivalent to 3D Fourier Transforms in this case?
0 个评论
采纳的回答
David Young
2016-1-21
fftn(X) and ifftn(X) carry out a 3-D FFT or a 3-D inverse FFT if length(size(X)) is equal to 3.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!