- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
原版matlab英文课件2
Plotting Polynomials The function polyval(a,x)evaluates a polynomial at specified values of its independent variable x, which can be a matrix or a vector. The polynomial’s coefficients of descending powers are stored in the array a. The result is the same size as x. Example of Plotting a Polynomial To plot the polynomial f (x) = 9x3 – 5x2 + 3x + 7 for –2 ≤ x ≤ 5, you type a = [9,-5,3,7]; x = [-2:0.01:5]; f = polyval(a,x); plot(x,f),xlabel(’x’),ylabel(’f(x)’) * * Numeric and Structure Arrays Specification of a position vector using Cartesian coordinates. Figure 2.1–1 The vector p can be specified by three components: x, y, and z, and can be written as: p = [x, y, z]. However, MATLAB can use vectors having more than three elements. To create a row vector, separate the elements by semicolons. For example, p = [3,7,9] p = 3 7 9 You can create a column vector by using the transpose notation (). p = [3,7,9] p = 3 7 9 You can also create a column vector by separating the elements by semicolons. For example, g = [3;7;9] g = 3 7 9 2-4 The colon operator (:) easily generates a large vector of regularly spaced elements. Typing x = [m:q:n] creates a vector x of values with a spacing q. The first value is m. The last value is n if m - n is an integer multiple of q. If not, the last value is less than n. For example, typing x = [0:2:8] creates the vector x = [0,2,4,6,8], whereas typing x = [0:2:7] creates the vector x = [0,2,4,6]. To create a row vector z consisting of the values from 5 to 8 in steps of 0.1, type z = [5:0.1:8]. If the increment q is omitted, it is presumed to be 1. Thus typing y = [-3:2] produces the vector y = [-3,-2,-1,0,1,2]. 2-7 The linspace command also creates a linearly spaced row vector, but instead you specify the number of values rather than the increment. The syntax is linspace(x1,x2,n), where x1 and x2 are the lower and upper limits and n is the number of points. For example, linspace(5,8,31) is e
您可能关注的文档
- 中国地理环境与饮食和建筑特色 .ppt
- 中级财务会计PPT课件06-长期股权投资.ppt
- 中环股份:2012年半年度财务报告.ppt
- 中餐礼仪(培训讲座课件PPT).ppt
- 中山大学网络(现代远程)教育.ppt
- 中考物理光学专项测试题及答案完整版 - 精品学习网.doc
- 中国化工集团公司待搬迁企业土地基本情况表PPT(中英文) .ppt
- 中广信金2012年2月21日北京金融街融汇项目2011年工作总结及2012年营销思路.ppt
- 主管教育訓練教材─郭台銘箴言錄.ppt
- 丽江旅游:公司章程(2012年7月).ppt
- 2025招商银行唐山分行社会招聘备考题库(岗位新增)含答案解析(必刷).docx
- 2025广东汕头海关缉私局招聘辅警21人历年真题题库附答案解析(夺冠).docx
- 2025广东南粤银行珠海分行招聘笔试参考题库带答案解析.docx
- 2025渤海银行北京分行社会招聘笔试历年题库及答案解析(夺冠).docx
- 2025河南省体育局局属事业单位招聘教练员7人笔试参考题库带答案解析.docx
- 2025广东广州医科大学附属第五医院第一次引进急需人才招聘1人备考题库带答案解析.docx
- 2025江西省农发种业有限公司多岗位实习生招聘5人历年题库附答案解析.docx
- 2025广西崇左扶绥县事业单位竞争性选聘工作人员29人历年题库及答案解析(必刷).docx
- 2025福建漳州市南靖生态环境局招聘1人备考题库带答案解析.docx
- 2025广东南粤银行佛山分行招聘历年参考题库及答案解析(夺冠).docx
最近下载
- 21J925-2 金属面夹芯板建筑构造图集.pdf VIP
- 2025年互联网营销师品牌信任建立与维护专题试卷及解析.pdf VIP
- GB50854-2013房屋建筑与装饰工程工程量计算规范.docx VIP
- 2025年信息系统安全专家物联网设备安全配置管理专题试卷及解析.pdf VIP
- 湖北省十堰市八校教联体学校2025-2026学年高二上学期11月月考英语试题含答案.pdf
- 2025年拍卖师从拍卖师到CEO的领导力转型之路专题试卷及解析.pdf VIP
- 标准图集-17J008 挡土墙(重力式、衡重式、悬臂式).pdf VIP
- 2025年金融风险管理师交易对手信用风险附加资本规则专题试卷及解析.pdf VIP
- IPC-4552B-2021 EN印制板化学镀镍 浸金(ENIG)镀覆性能规范 英文版.pdf VIP
- 2025年信息系统安全专家Hadoop平台安全专题试卷及解析.pdf VIP
原创力文档


文档评论(0)