2.MATLAB中的函数.pptVIP

  1. 1、本文档共55页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  5. 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  6. 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  7. 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  8. 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
2.MATLAB中的函数

Built-in MATLAB Functions ;Objectives; 3.1 内置函数的使用 ;Function Input can be either scalars (标量)or matrices;Function Input can be either scalars or matrices(矩阵);Using Predefined Functions;Some functions require multiple(多个) inputs;Some functions return multiple results;可以用赋值语句直接赋值给两个变量;Nesting Functions(函数嵌套);3.2 Using the Help Feature;;;The windowed help function can also be accessed using the doc command;3.3 Elementary Math Functions(初等数学函数);3.3 Elementary Math Functions(初等数学函数);3.3 Elementary Math Functions(初等数学函数);3.3 Elementary Math Functions(初等数学函数);3.3 Elementary Math Functions(初等数学函数);3.3 Elementary Math Functions(初等数学函数);3.3 Elementary Math Functions(初等数学函数);3.3.2 Rounding Functions(取整函数);3.3.3 Discrete Mathematics(离散数学);3.4 Trigonometric Functions;3.5 Data Analysis Functions;When the max function is used with a vector (either a row or a column), it returns the maximum value in the vector;When x is a matrix, the max is found for each column;max value;Vector of row numbers;;To sort in descending order, just add the word ‘descend’ in the second input field;MATLAB is column dominant, so when sort is used with a 2-D matrix, each column is sorted in ascending order;The sortrows function allows you to sort entire rows, based on the value in a specified column. The default sorting column is #1;In this example the matrix is sorted in ascending order, based on the second column;To sort based on descending order, place a negative sign in front of the column number;3.5.5 Determining Matrix Size;3.5.6 Variance and Standard Deviation(方差和标准差);Standard Deviation(正态分布);3.6 Random Numbers;If you create a very large matrix of random numbers using the rand function, the average value will be 0.5;Gaussian Random numbers(高斯随机数);First generate an array of 10 million gaussian random numbers;The hist function creates a histogram(柱状图 ) of the input data;;Complex Numbers(复数);3.8 Computational Limits(计算的极限);Check the limits on your computer with these commands;3.9 Special Values and

文档评论(0)

shaoye348 + 关注
实名认证
文档贡献者

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

1亿VIP精品文档

相关文档