I Why are the bins N/2 - N not a mirror image of bins 0 - N/2 in FFT analysis?

  • I
  • Thread starter Thread starter GhostLoveScore
  • Start date Start date
  • Tags Tags
    Data Fft
GhostLoveScore
Messages
149
Reaction score
9
I am trying to do Fast Fourier Transform on some data recorded from RTL SDR. I managed to write a program that does that, but the problem is this. This is final result as it should look

IQ_plot.jpg


And this is my result

graph2.jpg

It may be hard to understand this, I'll try to explain. My graph is done using 5000 samples. At upper graph, see that vertical line at around 99.4 MHz? That's the same line as at 3500 at lower graph. And if you look closely at lower graph, you can see that it really should be cut vertically at 2500 and left and right side switched.

I understand that when doing Fourier Analysis using N samples, as a result we get N frequency bins. And the result looks like this

1,2,3,4,5,6...N/2,N/2...6,5,4,3,2,1

So in a way I understand why I need to have right and left half of my graph switched. The result would look like this

N/2,..., 6,5,4,3,2,1,0,1,2,3,4,5,6,...,N/2

And the graph looks like this

graph3.jpg


What I don't understand is why the bins N/2 - N are not mirror image of bins 0 - N/2. And what I am doing here, switching bins N/2 - N to the left and bins 0 - N/2 to the right is the correct way to do this?
I forgot to say that data that I used for input was complex data.
 
Last edited:
Mathematics news on Phys.org
It would clarify it a little if you labelled the coordinates on your graph.
 
As I said, I used 5000 samples so I got 5000 frequency bins. That's what is on X axis. Amplitude is on Y axis.
 
Sorry, I didn't write frequency on the graph, just the bin number. I'll try to explain - signal bandwidth is 2.4MHz and center frequency is 100.122 MHz.

For my first graph that means 0 = 100.122MHz, 2500 = 98.9MHz/101.3MHz, 5000 = 100.122

For my second graph 0=98.9MHz, 2500 = 100.122MHz, 5000 = 101.3MHz

You will notice how there is a split at 2500. I didn't know exactly if 2500 = 98.9MHz 2501=101.3MHz or 2499=98.9MHz 2500= 101.3MHz so I wrote it like that.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top