I have a few questions i was wondering if anyone can help me out with:
1 - is there an official FFTW forum i go join?? i tried Comp.dsp but everytime i posted a question, it was never actually posted.
2 - i'm having a lot of difficulty with the FFTW library, and i just need some guidence...but i don't know anyone who has ever used it. so anyway, here is my second question:
i have the following code, and i was wondering how i could do the bits that are commented:
- Code: Select all
double *in, *out;
in = fftw_malloc(sizeof(double) * N); //SET THIS TO EQUAL Data.size();
out = fftw_malloc(sizeof(double) * N);
p = fftw_plan fftw_plan_r2r_1d(int n, double *in, double *out, fftw_r2r_kind
//STORE RESULTS IN array/vector. Call this FFTVec.
this is just like a skeleton that i've put together from my research. I don't actually know if its right or not...but i would like to fill it up (with the bits i have commented) first before i fix the problems.
any help given would be greatly greatly appreciated. also, can anyone also maybe give me a link for some sample code of FFTW being used in C++. i've googled a lot....and i couldn't find a single piece of code...just so that i can see if what im doing is in the right format.
thanx in advance ppl!!