資源簡介
數字信號處理matlab版_代碼.rar

代碼片段和文件信息
%?Chapter?02:?Example?02.01:?Signal?Synthesis
%
figure(1);?clf
%?a)?x(n)?=?2*delta(n+2)?-?delta(n-4)?-5<=n<=5
n?=?[-5:5];
x?=?2*impseq(-2-55)-impseq(4-55);
subplot(221);?stem(nx);?title(‘Sequence?in?Example?2.1a‘)
xlabel(‘n‘);?ylabel(‘x(n)‘);?axis([-55-23])
%
%?b)?x(n)?=?n[u(n)-u(n-10)]+10*exp(-0.3(n-10))(u(n-10)-u(n-20));?0<=n<=20
n?=?[0:20];
x1?=?n.*(stepseq(0020)-stepseq(10020));
x2?=?10*exp(-0.3*(n-10)).*(stepseq(10020)-stepseq(20020));
x?=?x1+x2;
subplot(222);stem(nx);
title(‘Sequence?in?Example?2.1b‘)
xlabel(‘n‘);ylabel(‘x(n)‘);axis([020-111])
%
%?c)?x(n)?=?cos(0.04*pi*n)?+?0.2*w(n);?0<=n<=50?w(n):?Gaussian?(01)
n?=?[0:50];
x?=?cos(0.04*pi*n)+0.2*randn(size(n));
subplot(223);stem(nx);title(‘Sequence?in?Example?2.1c‘)
xlabel(‘n‘);ylabel(‘x(n)‘);axis([050-1.41.4])
%
%?d)?x(n)?=?{...5432154321...};?-10<=n<=9
n=[-10:9];
x=[54321];
xtilde=x‘?*?ones(14);
xtilde=(xtilde(:))‘;
subplot(224);stem(nxtilde);title(‘Sequence?in?Example?2.1d‘)
xlabel(‘n‘);ylabel(‘xtilde(n)‘);axis([-109-16])
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1081??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_02\ex020100.m
?????文件????????816??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_02\ex020200.m
?????文件????????465??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_02\ex020300.m
?????文件????????477??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_02\ex020400.m
?????文件????????764??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_02\ex020500.m
?????文件???????1163??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_02\ex020600.m
?????文件????????223??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_02\ex020700.m
?????文件????????192??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_02\ex020800.m
?????文件???????1191??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_02\ex020900.m
?????文件????????475??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_02\ex021000.m
?????文件????????328??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_02\ex021100.m
?????文件????????637??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex030300.m
?????文件????????839??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex030400.m
?????文件????????424??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex030500.m
?????文件????????414??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex030600.m
?????文件????????454??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex030700.m
?????文件????????340??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex030800.m
?????文件????????870??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex030900.m
?????文件????????429??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex031000.m
?????文件????????393??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex031100.m
?????文件???????1162??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex031200.m
?????文件????????413??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex031300.m
?????文件????????254??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex031500.m
?????文件????????633??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex031600.m
?????文件????????561??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex031700.m
?????文件????????593??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex031800.m
?????文件????????619??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex03180a.m
?????文件????????614??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex03180b.m
?????文件????????574??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex031900.m
?????文件????????582??1996-09-06?16:47??數字信號處理matlab版_代碼\chapter_03\ex032000.m
............此處省略175個文件信息
評論
共有 條評論