![基于matlab的-AM-FM調(diào)制與解調(diào)報(bào)告_第1頁(yè)](http://file4.renrendoc.com/view/52ec75f6fceb0e01b54adf47e7ca7d9a/52ec75f6fceb0e01b54adf47e7ca7d9a1.gif)
![基于matlab的-AM-FM調(diào)制與解調(diào)報(bào)告_第2頁(yè)](http://file4.renrendoc.com/view/52ec75f6fceb0e01b54adf47e7ca7d9a/52ec75f6fceb0e01b54adf47e7ca7d9a2.gif)
![基于matlab的-AM-FM調(diào)制與解調(diào)報(bào)告_第3頁(yè)](http://file4.renrendoc.com/view/52ec75f6fceb0e01b54adf47e7ca7d9a/52ec75f6fceb0e01b54adf47e7ca7d9a3.gif)
![基于matlab的-AM-FM調(diào)制與解調(diào)報(bào)告_第4頁(yè)](http://file4.renrendoc.com/view/52ec75f6fceb0e01b54adf47e7ca7d9a/52ec75f6fceb0e01b54adf47e7ca7d9a4.gif)
![基于matlab的-AM-FM調(diào)制與解調(diào)報(bào)告_第5頁(yè)](http://file4.renrendoc.com/view/52ec75f6fceb0e01b54adf47e7ca7d9a/52ec75f6fceb0e01b54adf47e7ca7d9a5.gif)
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、AM調(diào)制與解調(diào)100% AM figure(Name,NumberTitle,off) a0=1;f0=2000;fc=20000;fs=1000000; t=1:0.000001:4; am1=0*cos(2*pi*f0*t); % am=a0+am1; t1=cos(2*pi*fc*t); % s_am=am.*t1; AM1=fft(am1); T1=fft(t1); S_AM=fft(s_am); f=(0:3000000)*fs/3000001-fs/2; subplot(3,2,1); plot(t(1:1000),am1(1:1000); title(); subplot(3,2
2、,2); plot(f,fftshift(abs(AM1); title(); subplot(3,2,3); plot(t(1:1000),t1(1:1000); title(); subplot(3,2,4); plot(f,fftshift(abs(T1); title(); subplot(3,2,5); plot(t(1:1000),s_am(1:1000); title(); subplot(3,2,6); plot(f,fftshift(abs(S_AM); title(); % figure(Name,NumberTitle,off); snr=5; y=awgn(s_am,s
3、nr); fcuts=16000 17500 22500 24000; mags=0 1 0; devs=0.05 0.01 0.05; n,Wn,beta,ftype=kaiserord(fcuts,mags,devs,fs); hh=fir1(n,Wn,ftype,kaiser(n+1,beta),noscale); H,f=freqz(hh,1,1024,fs); st_p=fftfilt(hh,y); Q=fft(st_p);Y=fft(y); f=(0:3000000)*fs/3000001-fs/2; subplot(2,2,1);plot(t(1500001:1501000),y
4、(1500001:1501000);title(); subplot(2,2,2);plot(f,fftshift(abs(Y);title(); subplot(2,2,3);plot(t(1500001:1501000),st_p(1500001:1501000);title(); subplot(2,2,4); plot(f,fftshift(abs(Q);title(); % figure(Name,NumberTitle,off); ss_am=st_p.*t1; SS_AM=fft(ss_am) f=(0:3000000)*fs/3000001-fs/2; subplot(2,1,
5、1);plot(t(1500001:1503000),ss_am(1500001:1503000);title(); subplot(2,1,2); plot(f,fftshift(abs(SS_AM);title(); fcuts1=2500,30000; mags1=1 0; devs1=0.01 0.05; n,Wn,beta,ftype=kaiserord(fcuts1,mags1,devs1,fs); hh1=fir1(n,Wn,ftype,kaiser(n+1,beta),noscale); H,f=freqz(hh1,1,1024,fs); m0=fftfilt(hh1,ss_a
6、m); M0=fft(m0); f=(0:3000000)*fs/3000001-fs/2; figure subplot(2,1,1);plot(t(1500001:1501000),m0(1500001:1501000);title(); subplot(2,1,2); plot(f,fftshift(abs(M0);title(); 50% AM figure(Name,NumberTitle,off) a0=2;f0=2000;fc=20000;fs=1000000; t=1:0.000001:4; am1=0*cos(2*pi*f0*t); % am=a0+am1; t1=cos(2
7、*pi*fc*t); % s_am=am.*t1; AM1=fft(am1); T1=fft(t1); S_AM=fft(s_am); f=(0:3000000)*fs/3000001-fs/2; subplot(3,2,1); plot(t(1:1000),am1(1:1000); title(); subplot(3,2,2); plot(f,fftshift(abs(AM1); title(); subplot(3,2,3); plot(t(1:1000),t1(1:1000); title(); subplot(3,2,4); plot(f,fftshift(abs(T1); titl
8、e(); subplot(3,2,5); plot(t(1:1000),s_am(1:1000); title(); subplot(3,2,6); plot(f,fftshift(abs(S_AM); title(); % figure(Name,NumberTitle,off); snr=5; y=awgn(s_am,snr); fcuts=16000 17500 22500 24000; mags=0 1 0; devs=0.05 0.01 0.05; n,Wn,beta,ftype=kaiserord(fcuts,mags,devs,fs); hh=fir1(n,Wn,ftype,ka
9、iser(n+1,beta),noscale); H,f=freqz(hh,1,1024,fs); st_p=fftfilt(hh,y); Q=fft(st_p);Y=fft(y); f=(0:3000000)*fs/3000001-fs/2; subplot(2,2,1);plot(t(1500001:1501000),y(1500001:1501000);title(); subplot(2,2,2);plot(f,fftshift(abs(Y);title(); subplot(2,2,3);plot(t(1500001:1501000),st_p(1500001:1501000);ti
10、tle(); subplot(2,2,4); plot(f,fftshift(abs(Q);title(); % figure(Name,NumberTitle,off); ss_am=st_p.*t1; SS_AM=fft(ss_am) f=(0:3000000)*fs/3000001-fs/2; subplot(2,1,1);plot(t(1500001:1503000),ss_am(1500001:1503000);title(); subplot(2,1,2); plot(f,fftshift(abs(SS_AM);title(); fcuts1=2500,30000; mags1=1
11、 0; devs1=0.01 0.05; n,Wn,beta,ftype=kaiserord(fcuts1,mags1,devs1,fs); hh1=fir1(n,Wn,ftype,kaiser(n+1,beta),noscale); H,f=freqz(hh1,1,1024,fs); m0=fftfilt(hh1,ss_am); M0=fft(m0); f=(0:3000000)*fs/3000001-fs/2; figure subplot(2,1,1);plot(t(1500001:1501000),m0(1500001:1501000);title(); subplot(2,1,2);
12、 plot(f,fftshift(abs(M0);title(); 0% AM figure(Name,NumberTitle,off) a0=10100;f0=2000;fc=20000;fs=1000000; t=1:0.000001:4; am1=0*cos(2*pi*f0*t); % am=a0+am1; t1=cos(2*pi*fc*t); % s_am=am.*t1; AM1=fft(am1); T1=fft(t1); S_AM=fft(s_am); f=(0:3000000)*fs/3000001-fs/2; subplot(3,2,1); plot(t(1:1000),am1(
13、1:1000); title(); subplot(3,2,2); plot(f,fftshift(abs(AM1); title(); subplot(3,2,3); plot(t(1:1000),t1(1:1000); title(); subplot(3,2,4); plot(f,fftshift(abs(T1); title(); subplot(3,2,5); plot(t(1:1000),s_am(1:1000); title(); subplot(3,2,6); plot(f,fftshift(abs(S_AM); title(); % figure(Name,NumberTit
14、le,off); snr=5; y=awgn(s_am,snr); fcuts=16000 17500 22500 24000; mags=0 1 0; devs=0.05 0.01 0.05; n,Wn,beta,ftype=kaiserord(fcuts,mags,devs,fs); hh=fir1(n,Wn,ftype,kaiser(n+1,beta),noscale); H,f=freqz(hh,1,1024,fs); st_p=fftfilt(hh,y); Q=fft(st_p);Y=fft(y); f=(0:3000000)*fs/3000001-fs/2; subplot(2,2
15、,1);plot(t(1500001:1501000),y(1500001:1501000);title(); subplot(2,2,2);plot(f,fftshift(abs(Y);title(); subplot(2,2,3);plot(t(1500001:1501000),st_p(1500001:1501000);title(); subplot(2,2,4); plot(f,fftshift(abs(Q);title(); % figure(Name,NumberTitle,off); ss_am=st_p.*t1; SS_AM=fft(ss_am) f=(0:3000000)*
16、fs/3000001-fs/2; subplot(2,1,1);plot(t(1500001:1503000),ss_am(1500001:1503000);title(); subplot(2,1,2); plot(f,fftshift(abs(SS_AM);title(); fcuts1=2500,30000; mags1=1 0; devs1=0.01 0.05; n,Wn,beta,ftype=kaiserord(fcuts1,mags1,devs1,fs); hh1=fir1(n,Wn,ftype,kaiser(n+1,beta),noscale); H,f=freqz(hh1,1,
17、1024,fs); m0=fftfilt(hh1,ss_am); M0=fft(m0); f=(0:3000000)*fs/3000001-fs/2; figure subplot(2,1,1);plot(t(1500001:1501000),m0(1500001:1501000);title(); subplot(2,1,2); plot(f,fftshift(abs(M0);title(); FM調(diào)制與解調(diào)%FM figure(Name,FM)f0=2000; fc=20000; fs=1000000; Am=1; kf=0.5; Tc=8; Ta=0.001; dt=0.000001;
18、t=0:1/fs:3; f=(0:length(t)-1)*fs/(length(t)-fs/2; fm0=cos(2*pi*f0*t); mt=fm0; % w1=0;w2=0; for m=1:length(t) w1=mt(m)+w2; w2=mt(m)+w1; fi(m)=w1/(2*fs); end fi=fi*2*pi/max(abs(fi); I=cos(kf*fi); Q=sin(kf*fi); y1=Am*cos(2*pi*fc*t).*I-Am*sin(2*pi*fc*t).*Q; subplot(2,1,1); plot(t,y1);title() axis(1e-3 4e-3 -2 2); Y1=fft(y1); subplot(2,1,2);plot(f,fftshift(abs(Y1)/1e6); title() %axis(-4e4 4e4 0 1); figure(Name,FM) y1o=awgn(y1,40);subplot(3,1,1);plot(t,y1o); title() %axis(1e-3 4e-3 -2 2); %KSband=2*(3+1)*f0;fcutsb=fc-KSband-2000 fc-KSband fc+KSband fc+KSband+2000; %magsb=0 1 0;devsb=0.0
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年度股東保密協(xié)議及企業(yè)風(fēng)險(xiǎn)管理合同
- 2025年度綠色建筑環(huán)保施工合同規(guī)范范本
- 漯河2024年河南漯河市臨潁縣事業(yè)單位招聘30人筆試歷年參考題庫(kù)附帶答案詳解
- 瀘州四川瀘州瀘縣氣象局見(jiàn)習(xí)基地招收見(jiàn)習(xí)人員2人筆試歷年參考題庫(kù)附帶答案詳解
- 江西2025年江西應(yīng)用工程職業(yè)學(xué)院招聘7人筆試歷年參考題庫(kù)附帶答案詳解
- 杭州浙江杭州西湖區(qū)住房和城鄉(xiāng)建設(shè)局招聘編外合同制工作人員筆試歷年參考題庫(kù)附帶答案詳解
- 2025年中國(guó)塑料保潔車(chē)市場(chǎng)調(diào)查研究報(bào)告
- 2025年中國(guó)兒童塑料椅市場(chǎng)調(diào)查研究報(bào)告
- 2025至2031年中國(guó)雨敵行業(yè)投資前景及策略咨詢研究報(bào)告
- 2025至2031年中國(guó)通PLUS1軟件行業(yè)投資前景及策略咨詢研究報(bào)告
- DB50∕T 959-2019 營(yíng)運(yùn)高速公路施工管理規(guī)范
- 人教版一年級(jí)下學(xué)期數(shù)學(xué)第5單元試卷《認(rèn)識(shí)人民幣》試題3
- RBA培訓(xùn)教材系列02RBA商業(yè)道德政策培訓(xùn)針對(duì)員工
- 高中研究性課題-------食品添加劑
- T∕CNFAGS 3-2021 三聚氰胺單位產(chǎn)品消耗限額
- 弟子規(guī)全文拼音版打印版
- 變電站設(shè)備驗(yàn)收管理標(biāo)準(zhǔn)規(guī)范
- 鍋爐房危害告知卡
- NPI流程管理分解
- 物業(yè)公司財(cái)務(wù)部各崗位工作職責(zé)
- 航空器拆解適航管理解讀
評(píng)論
0/150
提交評(píng)論