- 1、本文档共22页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
信号处理仿真(MATLAB)
实验指导书
青岛大学自动化工程学院电子工程系
2006年4月
MATLAB实验一
一、实验目的:
1. Be familiar with MATLAB Environment
2. Be familiar with array and matrix
Be familiar with MATLAB operations and simple plot function
二、实验内容:
1. Be familiar with Matlab 6.5
Startup Matlab 6.5, browse the major tools of the Matlab desktop
The Command Windows
The Command History Windows
Launch Pad
The Edit/Debug Window
Figure Windows
Workspace Browser and Array Editer
Help Browser
Current Directory Browser
PART I:下列选择练习,不需提交实验报告
1. Give the answer of the following questions for the array
What is the size of array1? size(array) 4 5
What is the value of array1(4,1)?
What is the size and value of array1(:,1:2)?
1.1000 0
0 1.1000
2.1000 0.1000
-1.4000 5.1000
What is the size and value of array1([1 3],?end)?
6.0000
1.3000
2. Give the answer of the following commad
1) a=1:2:5;
a = 1 3 5
2) b=[a’ a’ a’];
b =
1 1 1
3 3 3
5 5 5
3) c=b(1:2:3,1:2:3);
c = 1 1
5 5
4) d=a+b(2,:)
d = 4 6 8
5) w=[zeros(1,3)?ones(3,1)’?3:5’]
w = 0 0 0 1 1 1 3 4 5
3. Give the answer of the sub-arrays
1) array1(3,:); 2.1000 0.1000 0.3000 -0.4000 1.3000
2) array1(:,3); 2.1000
-6.6000
0.3000
0
3) array1(1:2:3,[3 3 4])
2.1000 2.1000 -3.5000
0.3000 0.3000 -0.4000
4) array1([1 1],:)
1.1000 0 2.1000 -3.5000 6.0000
1.1000 0 2.1000 -3.5000 6.0000
4. Give the answer of the following operations
1) a+b
3 -3
-1 4
2) a*d 2 -2
-1 2
3) a.*d 2 0
0 2
4) a*c 6
-5
5) a.*c wrong
6)a\b
1.0000 1.0000
0.5000 1.5000
7) a.\b
0.5000 0.5000
0 1.0000
8)a.^b
2.0000 -0.5000
1.0000 4.0000
PART I:下
文档评论(0)