I have a complex signal that I want to pass into the kiss_fft function,
however when I try to populate the real and imaginary parts of the
kiss_fft_cpx struct I get compile errors (subscript requires array or pointer
type) I may be doing this completely wrong - but this is what I attempted:
= dataToProc_; // There's more that goes on here - but for simplicity let's
say this is all the loop does
rawData->i_ = (x_/0x1000); //extract the imaginary from the data
rawData->r_ = floor((double)(x_/0x1000)); //extract the real from the data
y_ = i;
// Do other stuff
Is there something I'm missing here?
I need to extract the complex data before I send it into the FFT - so I need
some (better) way of populating my rawData complex structure.
Note that I'm using QT4.8 with MSVC2010
I can see from the email that got sent that you are putting your square
brackets in the wrong place.
I've tried two different ways to post a reply to this but the dumb bbcode
markup won't allow square brackets.
Sourceforge is trying hard to become irrelevant. Ask future questions on
stackoverflow.com -- much better forums.
Mark, FWIW, the email notifications with the square brackets that I got came
Just so that it's here:
rawData_.i = (x_/0x1000);
rawData_.r = floor((double)(x_/0x1000));
rawData->i_ = stuff;
rawData->r_ = stuff;
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.