网站大量收购独家精品文档,联系QQ:2885784924

第三章数据和函数的可视化(The third chapter is the visualization of data and functions).doc

第三章数据和函数的可视化(The third chapter is the visualization of data and functions).doc

  1. 1、本文档共13页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第三章数据和函数的可视化(The third chapter is the visualization of data and functions)

第三章数据和函数的可视化(The third chapter is the visualization of data and functions) 例3 1 plot (x) t = (0, pi / 50: 2 * pi) k = 0.4 0.1: 1; x = cos (t) * k; plot (x) 例3 2 plot (x, y) t = (0, pi / 50: 2 * pi) k = 0.4 0.1: 1; x = cos (t) * k; plot (t, x) plot (x, t) 例3 - 3 用图形表示连续调制波形y = sintsin9t及其包络线 t = (0, pi / 100: pi); y1 = sin (t) * [1, 1]. y2 = sin (t) sin (9 * t); plot (t, 1, r, t, y2, b) axis ([0, pi, - 1,1]) 例 3-4 数据点型演示 t = (0, pi / 100: pi); y2 = sin (t) sin (9 * t); t1 = pi * (0 9) / 9; y3 = sin (t1) * sin (9 ). plot (t, y2, y3 , b , bp ) axis ([0, pi, - 1,1]) 例3 - 5 图形标识演示 t = 0: 0.01: pi; b = [1,3] ; w = [2.5]. y = sin (w * t) exp (- b * t);% sin2te - t, sin5te - 3t plot (t, y (1), ., t, y (2)) legend (w = 2, b = 1, s = 5, b = 3) xlabel (t ), ylabel ( y ) title (y = sin (wt) * exp (- bt)) 例3 - 6 精细指令演示 t = 0: 0.01: pi; b = [1,3] ; w = [2.5]. y = sin (w * t) exp (- b * t);% sin2te - t, sin5te - 3t plot (t, y (1), ., t, y (2)) legend (\ r \ omega = 2 \ bf \ alpha = 1, \ r \ omega = 5 \ bf \ alpha = 3) xlabel (\ fontsize {14} \ bft)% 建立x轴名 (14号黑体) ylabel (\ fontsize {14} y) title (\ rm y = 1 - e ^ {- j} sin (omegat alphat)% 建立图名 (上标和希腊字母) 例3 - 7 t = 0: 0.02: 3; xi = 0.5; dk = 5; sxi = sqrt (1 - xi ^ 2); sita = atan (sxi / xi); wd = tn * sxi; y1 = 1 - exp (- xi * dk * t) sin (wd * t + sita) / sxi; y2 = - tn * exp (- xi * dk * t) sin (wd * t) / sxi; plotyy (t 1, t, y2) text (2,0.3, \ fontsize {14} \ {} 单位脉冲响应 font name 楷体) text (2,1.1, \ fontsize {14} \ {} 单位阶跃响应 font name 黑体) xlabel (\ fontsize {14} \ bft) 例 3-8 多子图演示 t = (pi * (0, 1000 / 1000). y1 = sin (t); y2 = sin (10 *); y12 = sin (t) sin (10 *); subplot (2,2,1), plot (t, 1) axis ([0, pi, - 1,1]) subplot (2,2,2), plot (t, y2); axis ([0, pi, - 1,1]) subplot (location, [0.2,0.05,0.6, 0.45]) plot (t, y12, b, t [1, 1], r) axis ([0, pi, - 1,1]) 例3 - 9多次叠绘演示 (hold on, hold off) clf; t = 2 * pi * (0: 20 / 20; y = cos (t) exp (- 0.4 * t); stem (t, y, g); stairs (t, y, r); hold off 例3 - 10 t = 0: 0.3: 2 * pi; y = exp (-

您可能关注的文档

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档