Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 107756

the analysis, interpretation and manipulation of signals

1 vote
Accepted

Gaussian function power spectrum (Matlab)

The problem is your calculation of the theoretical Fourier values. When you do a DFT with N points, the interval between points on the frequency axis is \$ \Delta f = 1/(N t_s) \$ where \$ t_s\$ den …
xoron's user avatar
  • 51
1 vote
Accepted

Gaussian Function Fourier Transform (Matlab)

The FFT looks flat, because the value of your a is too high. Secondly, you should use a different x-axis for the FFT plot. With N+1 time values, you get FFT points for nu values from -N/2 to +N/2. Y …
xoron's user avatar
  • 51