傅里叶变换的三个实例:矩形函数、三角函数与高斯函数 [学习笔记]

矩形函数:

Π ( t ) = { 1 , | t | < 1 2 0 , | t | 1 2


矩形函数

对其进行傅里叶变换,我们有(需要运用欧拉公式的变形公式,详见傅里叶级数推导过程(2)、(3)式):

F Π ( s ) = e 2 π i s t Π ( t ) d t = 1 2 1 2 e 2 π i s t d t = 1 2 π i s e 2 π i s t | t = 1 2 t = 1 2 = 1 π s ( e π i s e π i s ) 2 i = sin ( π s ) π s

我们定义 s i n c ( x ) = sin ( π x ) π x ,我们称其为归一化 s i n c 函数,在数字信号处理中常用;
而对于 s i n c ( x ) = sin ( x ) x ,我们称其为未归一化的 s i n c 函数,在数学中常用。
二者的图像如下:


sinc

扫描二维码关注公众号,回复: 2837092 查看本文章

三角函数

Λ ( t ) = { 1 | t | , | t | 1 0 , | t | > 1


三角函数

对其进行傅里叶变换,我们有(需要运用分部积分法,详见微积分相关内容):

F Λ ( s ) = e 2 π i s t Λ ( t ) d t = 1 0 e 2 π i s t ( 1 + t ) d t + 0 1 e 2 π i s t ( 1 t ) d t = 1 0 ( 1 + t ) d ( e 2 π i s t 2 π i s ) + 0 1 ( 1 t ) d ( e 2 π i s t 2 π i s ) = ( 1 + t ) ( e 2 π i s t 2 π i s ) | 1 0 1 0 ( e 2 π i s t 2 π i s ) d ( 1 + t ) + ( 1 t ) ( e 2 π i s t 2 π i s ) | 0 1 0 1 ( e 2 π i s t 2 π i s ) d ( 1 t ) = ( 1 + t ) ( e 2 π i s t 2 π i s ) | 1 0 0 1 ( e 2 π i s ( k 1 ) 2 π i s ) d k + ( 1 t ) ( e 2 π i s t 2 π i s ) | 0 1 1 0 ( e 2 π i s ( 1 k ) 2 π i s ) d k = ( 1 + t ) ( e 2 π i s t 2 π i s ) | 1 0 ( e 2 π i s 2 π i s e 2 π i s k 2 π i s ) | 0 1 + ( 1 t ) ( e 2 π i s t 2 π i s ) | 0 1 ( e 2 π i s 2 π i s e 2 π i s k 2 π i s ) | 1 0 = 2 e 2 π i s e 2 π i s 4 π 2 s 2

利用欧拉公式,我们有:

F Λ ( s ) = 2 ( cos 2 π s + i sin 2 π s ) ( cos 2 π s i sin 2 π s ) 4 π 2 s 2 = 2 2 cos 2 π s 4 π 2 s 2 = 2 2 ( 1 2 sin 2 π s ) 4 π 2 s 2 = sin 2 π s π 2 s 2 = s i n c 2 ( s )


最后我们来看高斯函数的傅里叶变换

高斯分布(又称正太分布)公式如下:

f ( x ) = 1 2 π σ e ( x μ ) 2 2 σ 2

X ~ N ( μ , σ 2 )
我们令 μ = 0 σ 2 = 1 2 π ,用 t 代替 x 成为自变量,则有以下高斯函数特例:

(1) f ( t ) = e π t 2


高斯函数

( 1 ) 式进行傅里叶变换,为了方便,我们将 F f 写作 F ,则有

(2) F ( s ) = F f ( s ) = + e 2 π i s t f ( t ) d t

两边同时对 s 求导,

F ( s ) = + d d s ( e 2 π i s t ) e π t 2 d t = + ( 2 π i t ) e 2 π i s t e π t 2 d t = i + e 2 π i s t d ( e π t 2 ) (3) = i e 2 π i s t e π t 2 | t = t = + i e π t 2 d ( e 2 π i s t )

对于 ( 2 ) 式,我们将等式右边拆分成两个部分进行计算
对于第一部分,我们不难发现, i e 2 π i s t = i cos ( 2 π s t ) + sin ( π s t ) ,由于 sin x cos x 是有限的,即取值范围都在 [ 1 , 1 ] ,因此, i e 2 π i s t 的取值也是有限的,即在复平面内模长为1的圆上取值;而当 t e π t 2 0 。一个有限的数与零相乘,其结果为0,故

(4) i e 2 π i s t e π t 2 | t = t = + = 0

第二部分:

i + e π t 2 d ( e 2 π i s t ) = i + 2 π i s e 2 π i s t e π t 2 d t = 2 π s + e 2 π i s t e π t 2 d t (5) = 2 π s F ( s )

( 3 ) ( 4 ) ( 5 ) 式,我们可以得到:

F ( s ) = 0 2 π s F ( s ) = 2 π s F ( s )

运用分离变量法解该常微分方程,我们可以得到:

(6) F ( s ) = F ( 0 ) e π s 2

根据 ( 2 ) 式,我们可以得到:

(7) F ( 0 ) = + e 2 π i 0 t f ( t ) d t = + e π t 2 d t

下面我们先来计算定积分 e π t 2 d t
g ( x ) = e π x 2 d x ,则

g 2 ( x ) = ( + e π x 2 d x ) 2 = + e π x 2 d x + e π y 2 d y = + + e π x 2 e π y 2 d x d y = + + e π ( x 2 + y 2 ) d x d y

我们对 x y 进行极坐标变换,可得:

g 2 ( x ) = 0 2 π 0 + e π ρ 2 ρ d ρ d θ = 0 + 2 π e π ρ 2 ρ d ρ = π 0 + e π ρ 2 d ( ρ 2 ) = π ( 1 π e π ρ 2 | 0 + ) = ( 0 1 ) (8) = 1

( 6 ) ( 7 ) ( 8 ) 式,我们有

(9) F ( s ) = F f ( s ) = e π s 2

这个结果表示,高斯函数 f ( t ) = e π t 2 经傅里叶变换后的图像形状,与原图像形状是一样的

猜你喜欢

转载自blog.csdn.net/qq_22943397/article/details/80301398