[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] a crazy problem with GNURadio fft

From: Marcus Müller
Subject: Re: [Discuss-gnuradio] a crazy problem with GNURadio fft
Date: Tue, 26 Aug 2014 16:01:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Thanks Sylvain,
not finding that drove me crazy (more crazy than usual); the zeroth
element must be sum(range(fftlen))=(63+0)*(64/2) = 63*32 = 2048 - 32 =
2016, like in the matlab result, yet I did not find where the data
stopped flowing... now,
explains that :)

Also, Mostafa, you call your transform ifft, yet you set forward=true,
which might be a bit confusing in the future.
For the IFFT, Matlab does something different than the pure FFTW that
GNU Radio uses: it divides by fft_size, compare [1] to [2].



On 26.08.2014 15:36, Sylvain Munaut wrote:
>>     memcpy(ifft->get_inbuf(), in, fft_size);
> fft_size * sizeof(gr_complex)
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]