Creating Matlab MEX File

Creating Matlab MEX File

Matlab is  a great tool for simulating and analyzing data. Its quite easy to write a script, that will do whatever you want since matlab has build-in functions for almost anything. However everything comes with cons as well. If you are doing some extra hard work with...
Using CuFFT and FFTW 2D&3D

Using CuFFT and FFTW 2D&3D

Hi everybody, I was having some problems with my code recently,so I decided to create this short post about using Multidimensional FFTs. My application was using both CuFFT and FFTW 2D and 3D: cufftPlan2d(plan,Nx,Ny,type); cufftPlan3d(plan,Nx,Ny,Nz,type);...