资源简介
.proakis.代码
《数字信号处理matlab版》代码
代码片段和文件信息
% 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])
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 1996-09-12 11:20 proakis\
目录 0 1996-09-06 16:47 proakis\CHAP_02\
文件 1081 1996-09-06 16:47 proakis\CHAP_02\ex020100.m
文件 816 1996-09-06 16:47 proakis\CHAP_02\ex020200.m
文件 465 1996-09-06 16:47 proakis\CHAP_02\ex020300.m
文件 477 1996-09-06 16:47 proakis\CHAP_02\ex020400.m
文件 764 1996-09-06 16:47 proakis\CHAP_02\ex020500.m
文件 1163 1996-09-06 16:47 proakis\CHAP_02\ex020600.m
文件 223 1996-09-06 16:47 proakis\CHAP_02\ex020700.m
文件 192 1996-09-06 16:47 proakis\CHAP_02\ex020800.m
文件 1191 1996-09-06 16:47 proakis\CHAP_02\ex020900.m
文件 475 1996-09-06 16:47 proakis\CHAP_02\ex021000.m
文件 328 1996-09-06 16:47 proakis\CHAP_02\ex021100.m
目录 0 1996-09-06 16:47 proakis\CHAP_03\
文件 637 1996-09-06 16:47 proakis\CHAP_03\ex030300.m
文件 839 1996-09-06 16:47 proakis\CHAP_03\ex030400.m
文件 424 1996-09-06 16:47 proakis\CHAP_03\ex030500.m
文件 414 1996-09-06 16:47 proakis\CHAP_03\ex030600.m
文件 454 1996-09-06 16:47 proakis\CHAP_03\ex030700.m
文件 340 1996-09-06 16:47 proakis\CHAP_03\ex030800.m
文件 870 1996-09-06 16:47 proakis\CHAP_03\ex030900.m
文件 429 1996-09-06 16:47 proakis\CHAP_03\ex031000.m
文件 393 1996-09-06 16:47 proakis\CHAP_03\ex031100.m
文件 1162 1996-09-06 16:47 proakis\CHAP_03\ex031200.m
文件 413 1996-09-06 16:47 proakis\CHAP_03\ex031300.m
文件 254 1996-09-06 16:47 proakis\CHAP_03\ex031500.m
文件 633 1996-09-06 16:47 proakis\CHAP_03\ex031600.m
文件 561 1996-09-06 16:47 proakis\CHAP_03\ex031700.m
文件 593 1996-09-06 16:47 proakis\CHAP_03\ex031800.m
文件 619 1996-09-06 16:47 proakis\CHAP_03\ex03180a.m
文件 614 1996-09-06 16:47 proakis\CHAP_03\ex03180b.m
............此处省略171个文件信息
- 上一篇:matlab车牌图像分割
- 下一篇:直接序列扩频的MATLAB仿真,以及对应说明文档
评论
共有 条评论