How to perform a Real to Complex Transformation with cuFFT
问题 The following code has been adapted from here to apply to a single 1D transformation using cufftPlan1d. Ultimately I want to perform a batched in place R2C transformation, but code below perfroms a single transformation using a separate input and output array. How can adapt this code to perform a the transformation inplace, therefore reducing the amount of memory allocated on the device? Thanks Cuda 6.5 - Note: I'm running the code from a mexFunction in MATLAB 2015a Code: #include <stdlib.h>