




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、 北京信息科技大學(xué)實(shí)驗(yàn)報(bào)告封面實(shí) 驗(yàn) 報(bào) 告課程名稱: 信號(hào)與系統(tǒng) 系 (院): 光電學(xué)院 專 業(yè): 光信息科學(xué)與技術(shù) 班 級(jí): 光信0801 學(xué)生姓名: 靖鑫 學(xué) 號(hào): 2008010750 指導(dǎo)教師: 開課時(shí)間: 2009-2010學(xué)年 二 學(xué)期第一次上機(jī) 實(shí)驗(yàn)一 信號(hào)與系統(tǒng)的時(shí)域分析第六題dt=0.01;t=-2:dt:2;x=sin(2*pi*t);subplot(211)plot(t,x)title(sinusoidal sign x(t)xlabel(time t(see)dt=0.2t=-2:dt:2;x=sin(2*pi*t);subplot(212)plot(t,x)titl
2、e(sinusoidal sign x(t)xlabel(time t(see)第七題n=0:0.1:4,x1=(-2).n.*u(n),subplot(211),stem(n,x1),axis(0 4 -8 16)grid on,title(-2).n.*u(n)xlabel(time index);t=0:0.01:4;x2=cos(2*pi*t).*(u(t)-u(t-3),subplot(212),plot(t,x2),axis(0 4 -1 1)grid on,title(cos(2*pi*t).*u(t)-u(t-3)xlabel(time index)第八題t=-2:0.01:2
3、0x=exp(-0.5*t).*u(t)subplot(211),plot(t,x),grid on,y=exp(-0.5*(1.5*t+3).*u(1.5*t+3)subplot(212),plot(t,y),grid on,第九題t=0:0.01:10x=(exp(-2*t)-exp(-3*t).*u(t)den=1 3 2;num=8;lsim(num,den,x,t)第十題t0=-2t1=4dt=0.01t=t0:dt:t1x=exp(-2*t).*(u(t+1)-u(t-2)h=cos(2*pi*t).*(u(t)-u(t-3)y=dt*conv(x,h);subplot(311)p
4、lot(t,x),grid on,title(signal x(t),subplot(312)plot(t,h),grid on,title(signal h(t),subplot(313)t=2*t0:dt:2*t1plot(t,y),grid on,title(the convolution of x(t) and h(t)xlabel(time t sec) 北京信息科技大學(xué)實(shí)驗(yàn)報(bào)告封面實(shí) 驗(yàn) 報(bào) 告課程名稱: 信號(hào)與系統(tǒng) 系 (院): 光電學(xué)院 專 業(yè): 光信息科學(xué)與技術(shù) 班 級(jí): 光信0801 學(xué)生姓名: 靖鑫 學(xué) 號(hào): 2008010750 指導(dǎo)教師: 開課時(shí)間: 2009-201
5、0學(xué)年 二 學(xué)期第二次上機(jī) 實(shí)驗(yàn)二 連續(xù)時(shí)間信號(hào)的頻率分析第六題t=0:0.01:8w=0.5*pix1=cos(w*t)subplot(411)plot(t,x1)grid ontitle(cos(wt)x2=cos(3*w*t)subplot(412)plot(t,x2)grid ontitle(cos(3wt)x3=cos(5*w*t)subplot(413)plot(t,x3)grid ontitle(cos(5wt)x4=cos(w*t)-(1/3)*cos(3*w*t)+(1/5)*cos(5*w*t)subplot(414)plot(t,x4)grid ontitle(x)第七題
6、(1)t=2;dt=0.0001;t=-4:dt:4;x1=(t+1).*(u(t+1)-u(t)+(1-t).*(u(t)-u(t-1)x=0;for m=-2:2 x=x+(t-m*t+1).*(u(t-m*t+1)-u(t-m*t)+(1-t+m*t).*(u(t-m*t)-u(t-m*t-1);end w0=2*pi/t;n=10;l=2*n+1;for k=-n:1:n; ak(n+1+k)=(1/t)*x1*exp(-j*k*w0*t)*dt;endphi=angle(ak)y=0for q=1:l; y=y+ak(q)*exp(j*(-(l-1)/2+q-1)*2*pi*t/t)
7、;end;subplot(221),plot(t,x),title(the original signal x(t), axis(-4,4,-0.2,1.2),subplot(223),plot(t,y),title(the synthesis signal y(t), axis(-4,4,-0.2,1.2), xlabel(time t),subplot(222),k=-n:n; stem(k,abs(ak),k.),title(the amplitude ak of x(t),axis(-n,n,-0.1,0.6),subplot(224)stem(k,phi,r.),title(the
8、phase phi(k) of x(t),axis(-10,10,-2,2),xlabel(index k)第七題(2)t=2;dt=0.0001;t=-5:dt:5;x1=u(t+0.2)-u(t-0.2);x=0;for m=-2:2 x=x+u(t-m*t+0.2)-u(t-m*t-0.2);end w0=2*pi/t;n=10;l=2*n+1;for k=-n:1:n; ak(n+1+k)=(1/t)*x1*exp(-j*k*w0*t)*dt;endphi=angle(ak)y=0for q=1:l; y=y+ak(q)*exp(j*(-(l-1)/2+q-1)*2*pi*t/t);e
9、nd;subplot(221),plot(t,x),title(the original signal x(t), axis(-5,5,-0.2,1.2),subplot(223),plot(t,y),title(the synthesis signal y(t), axis(-5,5,-0.2,1.2), xlabel(time t),subplot(222),k=-n:n; stem(k,abs(ak),k.),title(the amplitude ak of x(t),axis(-n,n,-0.1,0.6),subplot(224)stem(k,phi,r.),title(the ph
10、ase phi(k) of x(t),axis(-10,10,-2,2),xlabel(index k)第八題t=2;dt=0.0001;t=-4:dt:4;x1=(t+2).*(u(t+2)-u(t+1)+(u(t+1)-u(t-1)+(-t+2).*(u(t-1)-u(t-2);x=0;w0=2*pi/t;n=10;l=2*n+1;for k=-n:1:n; ak(n+1+k)=(1/t)*x1*exp(-j*k*w0*t)*dt;endphi=angle(ak);y=0;for q=1:l; y=y+ak(q)*exp(j*(-(l-1)/2+q-1)*2*pi*t/t);end;sub
11、plot(311),plot(t,x1),title(the original signal x(t),axis(-2,2,0,1.1);subplot(312),k=-n:n;stem(k,abs(ak),k.);title(the amplitude |ak| of x(t);axis(-n,n,-1,1.5);subplot(313),stem(k,phi,r.);title(the phase phi(k) of x(t);axis(-n,n,-4,4),xlabel(index k); 北京信息科技大學(xué)實(shí)驗(yàn)報(bào)告封面實(shí) 驗(yàn) 報(bào) 告課程名稱: 信號(hào)與系統(tǒng) 系 (院): 光電學(xué)院 專 業(yè):
12、 光信息科學(xué)與技術(shù) 班 級(jí): 光信0801 學(xué)生姓名: 靖鑫 學(xué) 號(hào): 2008010750 指導(dǎo)教師: 開課時(shí)間: 2009-2010學(xué)年 二 學(xué)期第三次上機(jī)實(shí)驗(yàn)三 連續(xù)時(shí)間lit系統(tǒng)的頻域分析第一題 (1)b=1 0;a=1 1 25;h,w=freqs(b,a);hm=abs(h);phai=angle(h);hr=real(h);hi=imag(h);subplot(221)plot(w,hm),grid on,subplot(223)plot(w,phai),grid on,subplot(222)plot(w,hr),grid on,subplot(224)plot(w,hi),g
13、rid on,(2)b=1 -1;a=1 1;h,w=freqs(b,a);hm=abs(h);phai=angle(h);hr=real(h);hi=imag(h);subplot(221)plot(w,hm),grid on,subplot(223)plot(w,phai),grid on,subplot(222)plot(w,hr),grid on,subplot(224)plot(w,hi),grid on,(3)b=262 ;a=1 10 48 148 306 401 262;h,w=freqs(b,a);hm=abs(h);phai=angle(h);hr=real(h);hi=i
14、mag(h);subplot(221)plot(w,hm),grid on,subplot(223)plot(w,phai),grid on,subplot(222)plot(w,hr),grid on,subplot(224)plot(w,hi),grid on,第二題b=262;a=1 10 48 148 306 401 262;t=0.01;dw=0.1t=0:0.01:40w=-4*pi:dw:4*pih=impulse(b,a,40)x=sin(t)+sin(8*t);y=lsim(b,a,x,t)subplot(321)plot(t,x),grid on,subplot(323)p
15、lot(h),grid on,subplot(325)plot(y),grid on,x=x*exp(-j*t*w)*tx1=abs(x);subplot(322)plot(x1),grid on,h=freqs(b,a,w)h1=abs(h)subplot(324)plot(h1),grid on,z=x1.*h1subplot(326)plot(z),grid on,第三題t=0.01;dw=0.1;t=-10:t:10;w=-4*pi:dw:4*pi;b=1 0;a=1 1 25;tao=grpdelay(b,a,w);subplot(311);plot(w,tao);b=1 -1;a=
16、1 1;tao=grpdelay(b,a,w);subplot(312);plot(w,tao);b=262;a=1 10 48 148 306 401 262;tao=grpdelay(b,a,w);subplot(313)plot(w,tao) 北京信息科技大學(xué)實(shí)驗(yàn)報(bào)告封面實(shí) 驗(yàn) 報(bào) 告課程名稱: 信號(hào)與系統(tǒng) 系 (院): 光電學(xué)院 專 業(yè): 光信息科學(xué)與技術(shù) 班 級(jí): 光信0801 學(xué)生姓名: 靖鑫 學(xué) 號(hào): 2008010750 指導(dǎo)教師: 開課時(shí)間: 2009-2010學(xué)年 二 學(xué)期第四次上機(jī)實(shí)驗(yàn)四 抽樣定理第三題t=0:0.01:10ts=1/4n=0:ts:10;x=cos(0.
17、5*pi*t);xn=cos(0.5*pi*n);subplot(211);plot(t,x),title(a continous-time signal x(t),xlabel(time t);subplot(212);stem(n,xn,.),title(the sampled version xn of x(t),xlabel(time index n)第四題 tmax=4;dt=0.01;t=0:dt:tmax;ts=1/2;ws=2*pi/ts;w0=20*pi;dw=0.1;w=-w0:dw:w0;n=0:1:tmax/ts;x=exp(-4*t).*u(t);xn=exp(-4*
18、n*ts);subplot(221);plot(t,x),title(a continuous-time signal x(t),xlabel(time t),axis(0,tmax,0,1),grid onsubplot(223)stem(n,xn,.),title(the sampled version xn of x(t),xlabel(time index n),axis(0,tmax/ts,0,1),grid onxa=x*exp(-j*t*w)*dt;x=0;for k=-8:8; x=x+x*exp(-j*t*(w-k*ws)*dt;endsubplot(222)plot(w,abs(xa)title(magnitude spectrum of x(t),gri
溫馨提示
- 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ù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 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年度房屋買賣合同小額貸款與房產(chǎn)評(píng)估機(jī)構(gòu)合作服務(wù)協(xié)議
- 2025年度高科技企業(yè)研發(fā)資金過(guò)橋借款協(xié)議
- 2025年度人工智能醫(yī)療診斷系統(tǒng)合同范本
- 體育體育課程改革與提升方案計(jì)劃
- 產(chǎn)品經(jīng)理工作回顧與市場(chǎng)需求分析計(jì)劃
- 心理科心理咨詢工作成果與發(fā)展計(jì)劃
- 建設(shè)學(xué)生藝術(shù)素養(yǎng)的美術(shù)教學(xué)工作方案計(jì)劃
- 時(shí)間管理技巧的深入探索計(jì)劃
- 加強(qiáng)醫(yī)院綠色低碳建設(shè)的實(shí)施計(jì)劃
- 2025年藥品批發(fā)零售項(xiàng)目建議書
- 《反電信網(wǎng)絡(luò)詐騙法》知識(shí)考試題庫(kù)150題(含答案)
- 2025年上海市各區(qū)初三一模語(yǔ)文試卷(打包16套無(wú)答案)
- 2025年度新能源汽車充電站運(yùn)營(yíng)權(quán)轉(zhuǎn)讓合同樣本4篇
- 統(tǒng)編版五年級(jí)語(yǔ)文下冊(cè)1古詩(shī)三首《四時(shí)田園雜興(其三十一)》課件
- 《人工智能基礎(chǔ)》課件-AI的前世今生:她從哪里來(lái)
- 《學(xué)習(xí)共同體-走向深度學(xué)習(xí)》讀書分享
- 英語(yǔ)四線三格模板
- 大智慧指標(biāo)公式函數(shù)大全(完整可打印版)
- JIS G4305-2021 冷軋不銹鋼板材、薄板材和帶材
- 《中國(guó)近現(xiàn)代史綱要》上編教學(xué)案例分享
- 新加坡環(huán)境治理與保護(hù)
評(píng)論
0/150
提交評(píng)論