- 24
- 0
- 约1.16万字
- 约 13页
- 2016-05-23 发布于重庆
- 举报
武汉大学数字信号实验一
姓名:全权 学号:2013302530120 班级:信安四班 日期:5月8日
实验1基本离散信号的MATLAB产生和图形显示
实验前言:
MATLAB 是一套功能强大的工程计算及数据处理软件,在众多领域得到广泛应用。它是一种面向对象的,交互式程序设计语言,其结构完整有优良的可移植性。它在矩阵运算,数字信号处理方面有强大的功能。另外,MATLAB提供了方便的绘图功能,便于用户直观地输出处理结果。
本课程实验要求学生运用MATLAB编程完成一些数字信号处理的基本功能,加深对教学内容的理解。
实验目的:
熟悉掌握MATLAB的基本操作
通过使用来熟悉常用离散信号;
实验内容:
1.1 GENERATION OF SEQUENCES
Project 1.1 Unit sample and unit step sequences
A copy of Program P1_1 is given below.
% Program P1_1
% Generation of a Unit Sample Sequence
clf;
% Generate a vector from -10 to 20
n = -10:20;
% Generate the unit sample sequence
u = [zeros(1,10) 1 zeros(1,20)];
% Plot the unit sample sequence
stem(n,u);
xlabel(Time index n);ylabel(Amplitude);
title(Unit Sample Sequence);
axis([-10 20 0 1.2]);
Insert program code here. Copy from m-file(s) and paste.
Answers:
Q1.1 The unit sample sequence u[n] generated by running Program P1_1 is shown below:
Insert MATLAB figure(s) here. Copy from figure window(s) and paste.
Q1.2 The purpose of clf command is - 清除figure中的内容
The purpose of axis command is -控制xy轴的范围大小
The purpose of title command is -给figure图自己的标题
The purpose of xlabel command is -给x轴贴上标签
The purpose of ylabel command is -给y轴贴上标签
Q1.3 The modified Program P1_1 to generate a delayed unit sample sequence ud[n] with a delay of 11 samples is given below along with the sequence generated by running this program.
clf;
n = 0:30;
u = [zeros(1,11) 1 zeros(1,19)];
stem(n,u);
xlabel(Time index n);ylabel(Amplitude);
title(Unit Sample Sequence);
axis([0 30 0 1.2]);
Insert program code here. Copy from m-file(s) and paste.
Insert MATLAB figure(s) here. Copy from figure window(s) and paste.
Q1.4 The modified Program P1_1 to generate a unit step sequence s[n] is given below along with the sequence generated by running this program.
% Program P1_1
% Generation of a Unit Step Sequence
clf;
% Generate a vector from -10 to 20
n = -10:20;
% Generate the unit sample sequence
u = [zeros(1,10) ones(1,21)];
% Plot the unit sample sequence
stem(n,u);
xl
您可能关注的文档
- 果蝇杂交实验计划书.doc
- 果蝇的饲养及其遗传性状的分析.doc
- 架子工试题2.doc
- 枣庄市治疗小儿智力低下选择什么方法.doc
- 枣阳市2012年专业技术人员心理健康与心理调适题库2.doc
- 架空绝缘电线长期允许载流量及其校正系数.doc
- 某图钻石班笔记行政能力测验之资料分析.doc
- 查违工作总结.doc
- 某公司RO装置操作规程.doc
- 标准化工作推进方案.doc
- 小区绿化施工协议书.docx
- 墙面施工协议书.docx
- 1 古诗二首(课件)--2025-2026学年统编版语文二年级下册.pptx
- (2026春新版)部编版八年级道德与法治下册《3.1《公民基本权利》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《4.3《依法履行义务》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.2《按劳分配为主体、多种分配方式并存》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.1《公有制为主体、多种所有制经济共同发展》PPT课件.pptx
- 初三教学管理交流发言稿.docx
- 小学生课外阅读总结.docx
- 餐饮门店夜经济运营的社会责任报告(夜间贡献)撰写流程试题库及答案.doc
原创力文档

文档评论(0)