matlab实验一答案详解_免费下载.doc_第1页
matlab实验一答案详解_免费下载.doc_第2页
matlab实验一答案详解_免费下载.doc_第3页
matlab实验一答案详解_免费下载.doc_第4页
matlab实验一答案详解_免费下载.doc_第5页
已阅读5页,还剩1页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

实验1. MATLAB 运算基础一实验目的二实内容1、(1)Z1=2*sin(85)/(1+exp(2)Z1 = -0.0420(2) x=2 1+2*i;-0.45 5;Z2=1/2*log(x+sqrt(1+x2)Z2 = 0.7114 - 0.0253i 0.8968 + 0.3658i 0.2139 + 0.9343i 1.1541 - 0.0044i(3)a=-3.0:0.1:3.0;z3=(exp(0.3*a)-exp(-0.3*a)/2.*sin(a+0.3)+log(0.3+a)/2)z3 = Columns 1 through 5 0.7388 + 3.1416i 0.7696 + 3.1416i 0.7871 + 3.1416i 0.7913 + 3.1416i 0.7822 + 3.1416i Columns 6 through 10 0.7602 + 3.1416i 0.7254 + 3.1416i 0.6784 + 3.1416i 0.6196 + 3.1416i 0.5496 + 3.1416i Columns 11 through 15 0.4688 + 3.1416i 0.3780 + 3.1416i 0.2775 + 3.1416i 0.1680 + 3.1416i 0.0497 + 3.1416i Columns 16 through 20 -0.0771 + 3.1416i -0.2124 + 3.1416i -0.3566 + 3.1416i -0.5104 + 3.1416i -0.6752 + 3.1416i Columns 21 through 25 -0.8536 + 3.1416i -1.0497 + 3.1416i -1.2701 + 3.1416i -1.5271 + 3.1416i -1.8436 + 3.1416i Columns 26 through 30 -2.2727 + 3.1416i -2.9837 + 3.1416i -37.0245 -3.0017 -2.3085 Columns 31 through 35 -1.8971 -1.5978 -1.3575 -1.1531 -0.9723 Columns 36 through 40 -0.8083 -0.6567 -0.5151 -0.3819 -0.2561 Columns 41 through 45 -0.1374 -0.0255 0.0792 0.1766 0.2663 Columns 46 through 50 0.3478 0.4206 0.4841 0.5379 0.5815 Columns 51 through 55 0.6145 0.6366 0.6474 0.6470 0.6351 Columns 56 through 60 0.6119 0.5777 0.5327 0.4774 0.4126 Column 61 0.3388(4)t=0:0.5:2.5;z4=t.2.*(t=0&t=1&t=2&t A=12 34 -4;34 7 87;3 65 7;B=1 3 -1;2 0 3;3 -2 7;A+6*BA-B+eye(size(A)ans = 18 52 -10 46 7 105 21 53 49ans = 12 31 -3 32 8 84 0 67 1(2) A*BA.*Bans = 68 44 62 309 -72 596 154 -5 241ans = 12 102 4 68 0 261 9 -130 49(3) A3A.3ans = 37226 233824 48604 247370 149188 600766 78688 454142 118820ans = 1728 39304 -64 39304 343 658503 27 274625 343(4) A/BBAans = 16.4000 -13.6000 7.6000 35.8000 -76.2000 50.2000 67.0000 -134.0000 68.0000ans = 109.4000 -131.2000 322.8000 -53.0000 85.0000 -171.0000 -61.6000 89.8000 -186.2000(5) A,BA(1,3,:);B2ans = 12 34 -4 1 3 -1 34 7 87 2 0 3 3 65 7 3 -2 7ans = 12 34 -4 3 65 7 4 5 1 11 0 1920 -5 403(1) A=1 2 3 4 5;6 7 8 9 10;11 12 13 14 15;16 17 18 19 20;21 22 23 24 25B=3 0 16;17 -6 9;0 23 -4;9 7 0;4 13 11C=A*BA = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25B = 3 0 16 17 -6 9 0 23 -4 9 7 0 4 13 11C = 93 150 77 258 335 237 423 520 397 588 705 557 753 890 717(2) F=size(C)D=C(F(1)-2:F(1),F(2)-1:F(2)F = 5 3D = 520 397 705 557 890 717(3) whos Name Size Bytes Class Attributes A 5x5 200 double B 5x3 120 double C 5x3 120 double D 3x2 48 double E 3x3 72 double F 1x2 16 double H 1x1 8 double Hh 1x1 8 double Hp 1x1 8 double Norm 1x1 8 double O 2x3 48 double P 5x5 200 double R 3x2 48 double Rank 1x1 8 double S 2x2 32 double Th 1x1 8 double Tp 1x1 8 double Trace 1x1 8 double V 3x3 72 double Z1 1x1 8 double Z2 2x2 64 double complex a 1x61 488 double ans 5x3 120 double b 3x1 24 double t 1x6 48 double x 2x2 64 double complex z3 1x

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论