Reputation: 1
I am trying to convert a Fortran code to MATLAB code. In the Fortran code, they used fftw for fft.I am not sure how perform fftw_plan_many_dft_r2c to MATLAB's fft or fftn funtion. It the Fortran code is:
fftw_plan_many_dft_r2c(rank,LzLyLx,howmany,didiR,d_embed,stride,dist,didiK,z_embed,stride,dist,FFTW_MEASURE)
How I can perform same fft in MATLAB?
I have tried perform just MATLAB fft,fft2,fftn. But the output was very different.
Upvotes: 0
Views: 110