Power spectrum when the wave number is not an integer

arcTomato
Messages
104
Reaction score
27
Homework Statement
I would like to know the about the power spectrum of a sin wave when the wave number is not integer.
Relevant Equations
Fourier transform
Hi all.

I made a program of DFT, so I made the power spectrum of a sin wave.
This is the sin wave I used.
All data number ##N=100## and the frequency of sine wave is 4.5Hz.

1576251868710.png

And the power spectrum is this.
1576252821780.png


The wave number is not integer so the spectrum has the side lobe.
But I think this is not right.
I think the power spectrum shape should be the product of the data's power spectrum and the window function's power spectrum(in my case the window is Square wave, and in the under image is also square wave too).
like this.
スクリーンショット 2019-12-14 0.58.15.png

      

I would like to know why the shape of the spectrum I made is like this.

Thank you.
 
on Phys.org
Keep in mind that the FT assumes periodic continuation. Your 4 1/2 periods don't transform to a single spike that way.
 
Hi @BvU again!
yes!
because there is the discontinuity point, right??
but I would like to understand why in another way(the spectrum of window).
I think the spectrum of the data which wave number is 9 is single spike.
If I multiply the data (9 wave number) with square wave(it becomes 4.5 wave number ), I think the spectrum should look like the third image.
But the spectrum I made is not look like.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K