訊號調製三種方法的頻寬比較

2021-10-05 16:17:36 字數 1806 閱讀 2672

訊號調製的方法有調幅、調頻、調相,相對於第一種而言,後兩者的頻寬比較大,相對占用資源比較多。

從上到下,調製方式依次是調幅、調頻、調相。中間是頻寬。

fs=

44100

;fc=

1000

;dt=

1.0/fs;t=1

; n=t/dt;t=[

0:n-1]

/n;x1=

sin(

2*pi*

100*t)

+1.3

;% amplitude modulation, dev is coefficient of x1

(t)y1=

ammod

(x1,fc,fs)

;subplot(3

,2,1

)plot

(t,y1)

;axis([

0,0.05,-

2.5,

2.5]);

p=fft

(y1,n)

;pyy=2*

sqrt

(p.*

conj

(p))

/n;f=

linspace(0

,fs/

2,n/2)

;pdb=20*

log10

(pyy)

;subplot(3

,2,2

)plot

(f,pdb(1

:n/2))

;% frequency modulation

y2=fmmod

(x1,fc,fs,

200);p=

fft(y2,n)

;subplot(3

,2,3

)plot

(t,y2)

;axis([

0,0.05,-

2.5,

2.5]);

pyy=2*

sqrt

(p.*

conj

(p))

/n;f=

linspace(0

,fs/

2,n/2)

;pdb=20*

log10

(pyy)

;subplot(3

,2,4

)plot

(f,pdb(1

:n/2))

;% phase modulation, cannot solve bias, need to be fixed

y3=pmmod

(x1,fc,fs,

3.14,-

3.14

*1.3);

p=fft

(y3,n)

;subplot(3

,2,5

)plot

(t,y3)

;axis([

0,0.05,-

2.5,

2.5]);

pyy=2*

sqrt

(p.*

conj

(p))

/n;f=

linspace(0

,fs/

2,n/2)

;pdb=20*

log10

(pyy)

;subplot(3

,2,6

)plot

(f,pdb(1

:n/2))

;

c 比較時間的三種方法

1。比較時間大小的實驗 string st1 12 13 string st2 14 14 datetime dt1 convert.todatetime st1 datetime dt2 convert.todatetime st2 datetime dt3 datetime.now if dat...

ORACLE批量更新三種方法比較

oracle批量更新三種方法比較 2008 05 30 11 55 46 標籤 雜談 資料庫 oracle 9i 測試工具 pl sql 定義2張測試表 t1,t2 t1 大表 10000條 t1 fk id t2 小表 5000條 t2 pk id t1通過表中字段id與t2的主鍵id關聯 模擬資...

三種方法 2020 11 23

利用連線類,例項化得到連線物件 連線類 連線物件 new 連線類 cmd.executescalar cmd.excutereader 關注其中一條資料 物件名.read 獲取關注列所對應的值 console.writeline 物件名 name while 物件名.read 功能,聚焦下一行資料。...