- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
MATLAB 中的常用操作符
其实这些是MATLAB 帮助文件中的内容,可以利用help 命令知道的。
Arithmetic operators. plus Plus + uplus Unary plus + minus Minus uminus Unary minus mtimes Matrix multiply * times Array multiply .* mpower Matrix power ^ power Array power .^ mldivide Backslash or left matrix divide \ mrdivide Slash or right matrix divide / ldivide Left array divide .\ rdivide Right array divide ./ kron Kronecker tensor product kron Relational operators. eq Equal == ne Not equal ~= lt Less than gt Greater than le Less than or equal = ge Greater than or equal = Logical operators. Short circuit logical AND Short circuit logical OR || and Element wise logical AND or Element wise logical OR | not Logical NOT ~ xor Logical EXCLUSIVE OR any True if any element of vector is nonzero all True if all elements of vector are nonzero Special characters. colon Colon : paren Parentheses and subscripting ( ) paren Brackets [ ] paren Braces and subscripting { } punct Function handle creation @ punct Decimal point . punct Structure field access . punct Parent directory .. punct Continuation ... punct Separator , punct Semicolon ; punct Comment % punct Invoke operating system command ! punct Assignment = punct Quote transpose Transpose . ctranspose Complex conjugate transpose horzcat Horizontal concatenation [,] vertcat Vertical concatenation [;] subsasgn Subscripted assignment ( ),{ },. subsref Subscripted reference ( ),{ },. subsindex Subscript index Bitwise operators. bitand Bit wise AND. bitcmp Complement bits. bitor Bit wise OR. bitmax Maximum floati ng point integer. bitxor Bit wise XOR. bitset Set bit. bitget Get bit. bitshift Bit wise shift. Set operators. union Set union. unique Set unique. intersect Set intersection. setdiff Set difference. setxor Set exclusive or. ismember True for set member
MATLAB 程式设计与应用
1-1、基本运算与函数
在MATLAB 下进行基本数学运算,只需将运算式直接打入提示号()之後,并按入Enter
键即可。例如:
(5*2+1.3-0.8)*10/25
ans =
4.2000
MATLAB 会将运算结果直
您可能关注的文档
最近下载
- 大型会议会务工作流程清单(培训讲学版).docx VIP
- 零碳园区水资源循环利用方案.docx
- DB35∕T 836-2015 学生服装标准规范.docx VIP
- 心力衰竭病人的护理(完整版) .pptx VIP
- 明配管支吊架的计算表.xls VIP
- 活动一《塑料制品大点兵》课件 沪科黔科版综合实践活动二年级上册.pptx VIP
- 社区教育考试题及答案.doc VIP
- 污水处理优化软件:SuperPro Designer二次开发_(5).设备与物料流管理.docx VIP
- MSS SP-25中文 国外国际规范.pdf VIP
- 医院信息互联互通标准化成熟度测评方案(2025年版).docx VIP
原创力文档


文档评论(0)