深入理解傅里葉變換

深入理解傅里葉變換
Mar 12, 2017

這原本是我在知乎上對傅立葉變換、拉普拉斯變換、Z變換的聯系?為什么要進行這些變換。研究的都是什么?問題的回答,實際上是我在本科學習數學和信號處理期間的思考,知乎上的答案因為寫得倉促,只寫了一些大致思想,沒有具體展開,也沒有圖,比較難以理解,這里重新整理了一下,匯成此文,目前尚未完成。
本文要求讀者需要在對傅里葉變換有一定的了解的基礎之上閱讀,至少要知道怎么算傅里葉變換。 此外部分地方要求讀者有一定的微分方程基礎,至少會求簡諧振子的二階常微分方程吧。
什么是傅里葉變換
為什么要分解為正弦波的疊加
傅里葉變換與信號系統
傅里葉變換與量子力學
傅里葉變換、拉普拉斯、Z變換、離散傅里葉變換的關系
傅里葉變換特殊的原因解釋
其他微分算子的特征函數舉例

什么是傅里葉變換
高等數學中一般是從周期函數的傅里葉級數開始介紹的,這里也不例外。簡單的說,從高中我們就學過一個理想的波可以用三角函數來描述,但是實際上的波可以是各種奇形怪狀的。首先我們來看具有固定周期的波,下圖中展示了4種常見的周期波。傅里葉級數告訴我們,這些周期信號都可以分解為有限或無限個正弦波或余弦波的疊加,且這些波的頻率都是原始信號頻率f
0

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">f0
f
0

的整數倍。
s
(
x
)
=
A
0

2


n
=
1

A
n

?
sin
?
(
2
π
n
f
0

x

?
n

)
.

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">s(x)=A02+∑n=1∞An?sin(2πnf0x+?n).
s
(
x
)
=
A
0

2


n
=
1

A
n

?
sin
?
(
2
π
n
f
0

x

?
n

)
.

這里f
0

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">f0
f
0

被稱為這些波的基頻,A
0

/

2

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">A0/2
A
0

/

2

代表直流系數,系數A
n

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">An
A
n

被稱為幅度,?
n

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">?n
?
n

被稱作相位。根據幅度和相位可以利用反變換恢復信號的波形,因此幅度和相位包含了信號的全部信息。這里的幅度關于頻率的函數,我們稱之為頻譜,相位關于頻率的函數,稱之為相位譜。


waveforms.svg
waveforms.svg

下圖是矩形波分解為多個正弦波的示意圖,隨著正弦波數目的增加,可以無限地逼近矩形波。 對于非周期信號,我們不能簡單地將它展開為可數個正弦波的疊加,但是可以利用傅里葉變換展開為不可數的正弦波的疊加,其表達式可以通過f
0


" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">f0→∞
f
0


簡單得到。
f
^

(
ξ
)
=

?

f
(
x
)
?
e
?
2
π
i
x
ξ

d
x
,

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">f^(ξ)=∫∞?∞f(x) e?2πixξdx,
f
^

(
ξ
)
=

?

f
(
x
)

e
?
2
π
i
x
ξ

d
x
,

我們日常遇到的琴音、震動等都可以分解為正弦波的疊加,電路中的周期電壓信號等信號都可以分解為正弦波的疊加。 那么問題來了,為什么我們要將信號分解為正弦波的疊加呢?這里面包含兩個問題,為什么要分解?為什么是正弦波(或余弦波),可不可以是其他的波?另一個問題是對通信的同學的,我們學過多個變換那么這些變換之間有哪些關系? 在下面的篇章中,我將回答這三個問題。
[圖片上傳中。。。(2)]
為什么要分解為正弦波的疊加
這個問題可以追溯到傅里葉變換的創始人傅里葉解熱傳導方程的時候,因為熱傳導方程要求讀者對熱力學有一定了解,這里我以簡諧振子系統為例來說明這個問題。沒有阻尼的簡諧振子系統可以用下面這個微分方程來描述
d

2

x

d

t
2

2
ω
0

d

x

d

t

ω
0

2

x

F
(
t
)
.

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">d2xdt2+2ω0dxdt+ω20x=F(t).
d

2

x

d

t
2

2
ω
0

d

x

d

t

ω
0

2

x

F
(
t
)
.

x
,
t
,
ω
0

,
F

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">x,t,ω0,F
x
,
t
,
ω
0

,
F

分別代表位移、時間、系統固有頻率和外界驅動力。當沒有外界驅動力F

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">F
F

時,這個系統有通解
x
(
t
)
=
A
sin
?
(
ω
0

t

?

)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">x(t)=Asin(ω0t+?)
x
(
t
)
=
A
sin
?
(
ω
0

t

?

)

現在我們考慮存在外界驅動力F

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">F
F

的場景,熟悉常微分方程理論的可以知道此時的通解是上述其次方程的通解(F

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">F
F

恒為0)加上一個特解,所謂特解就是某個滿足上述非齊次方程(F

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">F
F

不恒為0)的任意一個接!那為什么能做這種分解呢?原因在于這是一個線性系統,或者說這個方程是一個線性方程,因此遵循疊加原理,可以簡單的證明這個一般性結論。假設線性系統可以由線性微分方程來描述
L
^

x
(
t
)
=
F
(
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">L^x(t)=F(t)
L
^

x
(
t
)
=
F
(
t
)

L
^

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">L^
L
^

是線性算子,你可以簡單地理解為諧振子方程中的左邊操作。如果C
(
t
)
,
x
0

(
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">C(t),x0(t)
C
(
t
)
,
x
0

(
t
)

分別是其次方程通解和非齊次方程特解,即他們滿足
L
^

C
(
t
)
=
0
,
L
^

x
0

(
t
)
=
F
(
t
)
.

" role="presentation" style="display: table-cell !important; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; width: 10000em !important; position: relative;">LC(t)=0,Lx0(t)=F(t).
L
^

C
(
t
)
=
0
,

L
^

x
0

(
t
)
=
F
(
t
)
.

那么將這兩個式子相加,就可以得到
L
^

(
x
0

(
t
)

C
(
t
)

)

=
F
(
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">L^(x0(t)+C(t))=F(t)
L
^

(
x
0

(
t
)

C
(
t
)

)

=
F
(
t
)

因此,只剩下一個問題,對于給定的驅動力F
(
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">F(t)
F
(
t
)

,怎么找特解的問題了。 也許你還記得在高數的書上,對F
(
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">F(t)
F
(
t
)

為三角函數和指數函數時,可以有和F
(
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">F(t)
F
(
t
)

形式相同的特解。 例如F
(
t
)
=
f
0

sin
?
(
w
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">F(t)=f0sin(wt)
F
(
t
)
=
f
0

sin
?
(
w
t
)

時,可以假定非齊次方程也有這種形式的特解B
sin
?
(
w
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">Bsin(wt)
B
sin
?
(
w
t
)

,代入原方程,求出待定常數可得特解A
(
w
?
w
0

)
2

sin
?
(
w
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">A(w?w0)2sin(wt)
A
(
w
?
w
0

)
2

sin
?
(
w
t
)

。指數形式的驅動力也類似,那么對于其他形式的驅動力,怎么求特解呢?很簡單,利用線性疊加原理,我如果求出很多個F

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">F
F

為正弦驅動力sin
?
(
w
n

t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">sin(wnt)
sin
?
(
w
n

t
)

下的特解x
n

(
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">xn(t)
x
n

(
t
)

,并且如果F

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">F
F

可以表達為這些正弦波的疊加,那么特解不就可以用這些特解的疊加得到了么?用數學語言表述就是
L
^

x
n

(
t
)
=
sin
?
(
w
n

t
)
,
n
=
0
,
1...
L
^


n

A
n

x
n

(
t
)
=

n

A
n

sin
?
(
w
n

t
)
.

" role="presentation" style="display: table-cell !important; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; width: 10000em !important; position: relative;">Lxn(t)=sin(wnt),n=0,1...L∑nAnxn(t)=∑nAnsin(wnt).
L
^

x
n

(
t
)
=
sin
?
(
w
n

t
)
,
n
=
0
,
1...

L
^


n

A
n

x
n

(
t
)
=

n

A
n

sin
?
(
w
n

t
)
.

上面第二個式子右邊如果等于F
(
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">F(t)
F
(
t
)

,那么左邊的∑
n

A
n

x
n

(
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">∑nAnxn(t)

n

A
n

x
n

(
t
)

就是原齊次方程的特解。 簡單地說,就是將驅動力做傅里葉變換(如果是周期驅動力則展開為傅里葉級數),求出每個基驅動力的特解,然后疊加得到特解。當然實際求解不用那么繞,以簡諧振動方程為例,直接對方程左右兩邊做傅里葉變換即得
w
2

X
^

(
w
)
?
2
w
ω
0

X
^

(
w
)

ω
0
2

X
^

(
w
)
=
F
^

(
w
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">w2X(w)?2wω0X(w)+ω20X(w)=F(w)
w
2

X
^

(
w
)
?
2
w
ω
0

X
^

(
w
)

ω
0
2

X
^

(
w
)
=
F
^

(
w
)

上式帶尖頭的函數代表時域函數的傅里葉變換,這是一個代數方程,容易求得
X
^

(
w
)
=
F
^

(
w
)

(
w
?
ω
0

)
2

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">X(w)=F(w)(w?ω0)2
X
^

(
w
)
=
F
^

(
w
)

(
w
?
ω
0

)
2

通過上述描述,我們可以看到,將一個函數做傅里葉變換或者展開為傅里葉級數,可以幫助我們求解線性微分方程,或者從實際意義來說,可以幫助我們分析一個線性系統對外界做出如何響應!之所以能這樣展開,是因為我們分析的是線性系統,如果是非線性系統就不能這樣操作了。至于為什么是三角函數,我在下面將會回答,接下來我們先來看看更多的例子。
傅里葉變換與信號系統
這里,我們對通信相關的領域再舉一個例子,來說明展開為三角函數(或者復指數函數)的重要性。這種分析,我們稱之為傅里葉分析,或者叫頻譜分析。
一個信號,通常用一個時間的函數x
(
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">x(t)
x
(
t
)

來表示,這樣簡單直觀,因為它的函數圖像可以看做信號的波形,比如聲波和水波等等。很多時候,對信號的處理是很特殊的,比如說線性電路會將輸入的正弦信號處理后,輸出仍然是正弦信號,只是幅度和相位有一個變化。這是因為線性電路都可以用常系數線性微分方程來描述,輸入信號可以看做外界驅動力,輸出可以看做系統地響應,這和上面的諧振子方程類似。因此,如果我們將信號全部分解成正弦信號的線性組合(傅里葉變換)x
(
t
)
=
Σ
ω

X
(
ω
)
e
i
ω
t

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">x(t)=ΣωX(ω)eiωt
x
(
t
)
=
Σ
ω

X
(
ω
)
e
i
ω
t

,那么就可以用一個傳遞函數H
(
w
)
=
Y
(
w
)
/

X
(
w
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">H(w)=Y(w)/X(w)
H
(
w
)
=
Y
(
w
)
/

X
(
w
)

來描述這個線性系統。倘若這個信號很特殊,例如e
2
t

s
i
n
(
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">e2tsin(t)
e
2
t

s
i
n
(
t
)

,傅里葉變換在數學上不存在,這個時候就引入拉普拉斯變換來解決這個問題x
(
t
)
=
Σ
s

X
(
s
)
e
s
t

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">x(t)=ΣsX(s)est
x
(
t
)
=
Σ
s

X
(
s
)
e
s
t

。這樣一個線性系統都可以用一個傳遞函數H
(
s
)
=
Y
(
s
)
/

X
(
s
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">H(s)=Y(s)/X(s)
H
(
s
)
=
Y
(
s
)
/

X
(
s
)

來表示。所以,從這里可以看到將信號分解為正弦函數(傅里葉變換)或者 復指數函數(拉普拉斯變換)對分析線性系統也是至關重要的。
傅里葉變換與量子力學
量子力學的波函數可以用多種不同的表象來描述,例如坐標表象、動量表象、能量表象等,不同表象之間的變換實際上是希爾伯特空間的一個幺正變換,其中坐標表象和動量表象之間的變換就是傅里葉變換。
Φ
(
p
)
=
1
2
π
?


Ψ
(
x
)
e
?
i
?

p
x

d
x
,
Ψ
(
x
)
=
1
2
π
?


Φ
(
p
)
e
i
?

p
x

d
p
.

" role="presentation" style="display: table-cell !important; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; width: 10000em !important; position: relative;">Φ(p)=12π????√∫Ψ(x)e?i?pxdx,Ψ(x)=12π????√∫Φ(p)ei?pxdp.
Φ
(
p
)
=
1
2
π
?


Ψ
(
x
)
e
?
i
?

p
x

d
x
,

Ψ
(
x
)
=
1
2
π
?


Φ
(
p
)
e
i
?

p
x

d
p
.

傅里葉變換、拉普拉斯、Z變換、離散傅里葉變換的關系
信號處理中經常要對信號做各種變換,其中傅里葉變換、拉普拉斯、Z變換、離散傅里葉變換是最基礎的幾個變換。 他們都是為了對信號做頻譜分析而采用的變換,只不過被變換的信號會有一些差異。
如果只關心信號本身,不關心系統,這幾個變換的關系可以通過下面這樣一個過程聯系起來。
從模擬信號x
(
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">x(t)
x
(
t
)

開始,如果模型信號能量是有限的,那么我們可以對它做傅里葉變換,把它用頻域表達為X
(
w
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">X(w)
X
(
w
)

。如果信號的能量是無限的,那么傅里葉變換將不會收斂,這種時候可以對它做拉普拉斯變換X
(
s
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">X(s)
X
(
s
)

。 如果我們將拉普拉斯的s

σ

j
w

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">s=σ+jw
s
=
σ

j
w

域畫出來,他是一個復平面,拉普拉斯變換X
(
s
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">X(s)
X
(
s
)

是這個復平面上的一個復變函數。而這個函數沿虛軸j
w

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">jw
j
w

的值X
(
j
w
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">X(jw)
X
(
j
w
)

就是傅里葉變換。
[圖片上傳中。。。(3)]
拉普拉斯變換和傅里葉變換廣泛應用在模擬電路分析當中,下圖就是對模擬電路中基本元件的s

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">s
s

域建模示意圖,當s

j
w

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">s=jw
s
=
j
w

時,就是傅里葉變換了。


S-Domain_circuit_equivalents
S-Domain_circuit_equivalents

需要明確一個觀點,不管使用時域還是頻域(或s域)來表示一個信號,他們表示的都是同一個信號!也就是說,上面的時域表達、頻域表達和s

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">s
s

域表達都表示的是同一個模擬信號。關于這一點,你可以從線性空間的角度理解。同一個信號,如果采用不同的坐標框架(或者說基向量),那么他們的坐標就不同。例如,采用{
δ
(
t
?
τ
)
|

τ

R
}

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">{δ(t?τ)|τ∈R}
{
δ
(
t
?
τ
)
|

τ

R
}

作為坐標,那么信號就可以表示為x
(
t
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">x(t)
x
(
t
)

,而采用{
e
i
w
t

|

w

R
}

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">{eiwt|w∈R}
{
e
i
w
t

|

w

R
}

則表示為傅里葉變換的形式X
(
w
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">X(w)
X
(
w
)

。 兩個不同坐標框架下,同一個向量的坐標可以通過一個線性變換聯系起來,如果是有限維的空間,則可以表示為一個矩陣,在這里是無限維,這個線性變換就是傅里葉變換。
到現在,對信號的形式還沒有多少假定,如果信號是帶寬受限信號,也就是說X
(
j
w
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">X(jw)
X
(
j
w
)

只在一個小范圍內(如?
B
<
w
<
B

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">?B<w<B
?
B
<
w
<
B

)不為0。之所以要做這個假定以及這個假定的合理性是根據實際需要而定的。在一個通信系統或者信號處理系統中,無限帶寬的信號是無法處理的,而且一般接受信號的期間都會有一定的帶寬,所以這是對實際中的信號的一種理想假設。現代的信號處理系統多是數字信號處理系統,即使是模擬系統,現在也多將復雜的處理放到數字信號處理子系統端進行處理,這兩個系統之間通過 AD、DA 連接起來。根據采樣定理,只要采樣的頻率足夠高(大于兩倍帶寬),就可以無失真地將信號還原出來。那么采樣對信號的影響是什么呢?從s平面來看,時域的采樣將X
(
s
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">X(s)
X
(
s
)

沿虛軸方向作周期延拓!這個性質從數學上可以很容易驗證。下圖顯示的是就是采樣對信號頻譜的影響,只畫出虛軸上的圖像。這個性質也很好的解釋了為什么要兩倍的采樣頻率,這樣才能使得周期延拓后頻譜不會重疊到一起。設f
s

=
w
s

/

2
π

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">fs=ws/2π
f
s

=
w
s

/

2
π

是采樣頻率,則采樣后信號在s

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">s
s

域可以表達為
X
sampling

(
s
)
=
X
(
s
)

n
=
?

e
n
s
/

f
s

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">Xsampling(s)=X(s)∑n=?∞∞ens/fs
X
sampling

(
s
)
=
X
(
s
)

n
=
?

e
n
s
/

f
s

sampling

對于采樣后的信號,可以利用指數變換將s

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">s
s

域的帶狀區域變換到單位圓內。這就是z變換,它可以看做拉普拉斯變換的一種特殊形式,即做了一個代換z

e
?
s
/

f
s

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">z=e?s/fs
z
=
e
?
s
/

f
s

,f
s

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">fs
f
s

是采樣頻率。這個變換將信號從s域變換到z域。請注意,s域和z域表示的是同一個信號,即采樣完了之后的信號,只有采樣才會改變信號本身!從復平面上來看,這個變換將與σ

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">σ
σ

軸平行的條帶變換到z平面的一個單葉分支2
k
π

θ

2
(
k

1
)
π

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">2kπ≤θ≤2(k+1)π
2
k
π

θ

2
(
k

1
)
π

,并且將虛軸映射到單位圓。z

e
?
j
w
/

f
s

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">z=e?jw/fs
z
=
e
?
j
w
/

f
s

時也稱作離散時間傅里葉變換(DTFT)。你會看到前面采樣導致的周期延拓產生的條帶重疊在一起了,因為具有周期性,所以z域不同的分支的函數值X
(
z
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">X(z)
X
(
z
)

是相同的。換句話說,如果沒有采樣,直接進行z變換,將會得到一個多值的復變函數!所以一般只對采樣完了后的信號做z變換!
X
(
z
)
=
X
s
a
m
p
l
i
n
g

(
z
=
e
?
s
/

f
s

)

X
(
s
=
f
s

ln
?
z
)

n
=
?

z
n

" role="presentation" style="display: table-cell !important; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; width: 10000em !important; position: relative;">X(z)=Xsampling(z=e?s/fs)=X(s=fslnz)∑n=?∞∞zn
X
(
z
)
=
X
s
a
m
p
l
i
n
g

(
z
=
e
?
s
/

f
s

)

=
X
(
s
=
f
s

ln
?
z
)

n
=
?

z
n

這里講了時域的采樣,時域采樣后,信號只有?
f
s

/

2

f
s

/

2

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">?fs/2→fs/2
?
f
s

/

2

f
s

/

2

間的頻譜,即最高頻率只有采樣頻率一半,但是要記錄這樣一個信號,仍然需要無限大的存儲空間,可以進一步對頻域進行采樣。如果時間有限(實際上這與頻率受限互相矛盾,但大多數信號近似成立)的信號,那么通過頻域采樣(時域做周期擴展)可以不失真地從采樣的信號中恢復原始信號。并且信號長度是有限的,這就是離散傅里葉變換(DFT),它有著名的快速算法快速傅里葉變換(FFT)。為什么DFT這么重要呢,因為計算機要有效地對一般的信號做傅里葉變換,都是用DFT來實現的,除非信號具有簡單的解析表達式!利用上述關系,可以推導出DFT在第k個頻點的值為
X
(
k
)
=
X
(
z
=
e
?
j
2
π

N

k

)

X
(
s
=
?
j
2
π

N

k
f
s

)

n
=
?

e
?
j
2
π

N

n
k

=
X
(
s
=
?
j
2
π

N

k
f
s

)


?

x
(
t
)
e
?
j
2
π

N

k
f
s

t

d
t
=

n

x
n

e
?
j
2
π

N

n
k

" role="presentation" style="display: table-cell !important; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; width: 10000em !important; position: relative;">X(k)=X(z=e?j2πNk)=X(s=?j2πNkfs)∑n=?∞∞e?j2πNnk=X(s=?j2πNkfs)=∫∞?∞x(t)e?j2πNkfstdt=∑nxne?j2πNnk
X
(
k
)
=
X
(
z
=
e
?
j
2
π

N

k

)

=
X
(
s
=
?
j
2
π

N

k
f
s

)

n
=
?

e
?
j
2
π

N

n
k

=
X
(
s
=
?
j
2
π

N

k
f
s

)

=

?

x
(
t
)
e
?
j
2
π

N

k
f
s

t

d
t

=

n

x
n

e
?
j
2
π

N

n
k

上述推導利用到兩個基本公式

n
=
?

e
?
j
2
π

N

n
k

=
1

?

x
(
t
)
e
?
j
2
π

N

k
f
s

t

d
t
=

n

x
n

e
?
j
2
π

N

n
k

" role="presentation" style="display: table-cell !important; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; width: 10000em !important; position: relative;">∑n=?∞∞e?j2πNnk=1∫∞?∞x(t)e?j2πNkfstdt=∑nxne?j2πNnk

n
=
?

e
?
j
2
π

N

n
k

=
1


?

x
(
t
)
e
?
j
2
π

N

k
f
s

t

d
t
=

n

x
n

e
?
j
2
π

N

n
k

總結起來說,就是對于一個線性系統,輸入輸出是線性關系的,不論是線性電路還是光路,只要可以用一個線性方程或線性微分方程(如拉普拉斯方程、泊松方程等)來描述的系統,都可以通過傅里葉分析從頻域來分析這個系統的特性,比單純從時域分析要強大得多!兩個著名的應用例子就是線性電路和傅里葉光學(信息光學)。甚至非線性系統,也在很多情況里面使用線性系統的東西!所以傅里葉變換才這么重要!你看最早傅里葉最早也是為了求解熱傳導方程(那里其實也可以看做一個線性系統)!
傅里葉變換的思想還在不同領域有很多演變,比如在信號處理中的小波變換,它也是采用一組基函數來表達信號,只不過克服了傅里葉變換不能同時做時頻分析的問題。
傅里葉變換特殊的原因解釋
最后,我從純數學的角度說一下傅里葉變化到底是什么。還記得線性代數中的代數方程Ax=b嗎?如果A是對稱方陣,可以找到矩陣A的所有互相正交的特征向量{v_i,i=1..n}和特征值λ
i

,
i
=
1..
n

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">λi,i=1..n
λ
i

,
i
=
1..
n

,然后將向量x和b表示成特征向量的組合x

Σ
i

x
i

v
i

,
b
=
Σ
i

b
i

v
i

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">x=Σixivi,b=Σibivi
x
=
Σ
i

x
i

v
i

,
b
=
Σ
i

b
i

v
i

。由于特征向量的正交關系,矩陣的代數方程可以化為n個標量代數方程λ
i

x
i

=
b
i

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">λixi=bi
λ
i

x
i

=
b
i

,是不是很神奇!!你會問這跟傅里葉變換有毛關系啊?別急,再看非齊次線性常微分方程y

a
y
=
z
(
x
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">y′+ay=z(x)
y

a
y
=
z
(
x
)

,可以驗證指數函數y

e
s
x

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">y=esx
y
=
e
s
x

是他的特征函數,如果把方程改寫為算子表示Λ
y
=
z

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">Λy=z
Λ
y
=
z

,那么有Λ
y
=
λ
y

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">Λy=λy
Λ
y
=
λ
y

,這是不是和線性方程的特征向量特征值很像。把y 和 z都表示為指數函數的線性組合,那么經過這種變換之后,常微分方程變為標量代數方程了!!而將y和z表示成指數函數的線性組合的過程就是傅里葉變換(或拉普拉斯變換)。在偏微分方程如波動方程中也有類似結論!這是我在上數理方程課程的時候體會到的。歸納起來,就是說傅里葉變換就是線性空間中的一個特殊的正交變換!他之所以特殊是因為指數函數是常系數微分算子的特征函數
其他微分算子的特征函數舉例
這里舉其他特征函數的例子是為了說明,傅里葉變換只是常系數微分算子的特征函數,如果是變系數就不是了。 所謂常系數微分算子就是具有這種形式的微分算子
L
^

=

k
=
0

n

a
k

d

k

x

d

t
k

,
a
k


R

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">L^=∑k=0nakdkxdtk,ak∈R
L
^

=

k
=
0

n

a
k

d

k

x

d

t
k

,
a
k


R

對于變系數的微分算子,a
k

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">ak
a
k

是自變量t

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">t
t

的函數,這種算子的特征函數并沒有一般性的結論。 這里列舉幾個我遇到過多次的特征函數及變系數算子。
柱坐標下的貝塞爾函數是下述微分算子的特征函數
L
^

=
x
2

d
2

y

d
x
2

x
d
y

d
x

(
x
2

?
α
2

)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">L^=x2d2ydx2+xdydx+(x2?α2)
L
^

=
x
2

d
2

y

d
x
2

x
d
y

d
x

(
x
2

?
α
2

)

球坐標下的勒讓德多項式
P
n

(
x
)
=
1
2
n

n
!

d
n

d
x
n

[
(
x
2

?
1
)
n

]

.

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">Pn(x)=12nn!dndxn[(x2?1)n].
P
n

(
x
)
=
1
2
n

n
!

d
n

d
x
n

[
(
x
2

?
1
)
n

]

.

它是下述微分算子的特征函數,這是一個變系數的微分算子
L
^

=
d
d
x

[
(
1
?
x
2

)
d
d
x

]

n
(
n

1
)

" role="presentation" style="display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">L^=ddx[(1?x2)ddx]+n(n+1)
L
^

=
d
d
x

[
(
1
?
x
2

)
d
d
x

]

n
(
n

1
)

拉蓋爾多項式
L
n

(
x
)
=
e
x

n
!

d
n

d
x
n

(
e
?
x

x
n

)

=
1
n
!

(
d
d
x

?
1

)

n

x
n

L
^

=
x
d
2

d
x
2

(
1
?
x
)
d
d
x

n

" role="presentation" style="display: table-cell !important; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: center; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; width: 10000em !important; position: relative;">Ln(x)=exn!dndxn(e?xxn)=1n!(ddx?1)nxnL^=xd2dx2+(1?x)ddx+n
L
n

(
x
)
=
e
x

n
!

d
n

d
x
n

(
e
?
x

x
n

)

=
1
n
!

(
d
d
x

?
1

)

n

x
n

L
^

=
x
d
2

d
x
2

(
1
?
x
)
d
d
x

n

這樣的例子還有很多,這些函數實際上都是一個函數族,這些函數互相正交,這和實對稱陣的本征向量互相正交的性質一樣,這里的線性算子也是其泛函空間上的對稱實軛米算子。這些函數族構成一組完備正交基,可以表達對應泛函空間中的任意函數。這和傅里葉變換的基函數——復指數函數一樣。

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容