Operators and special characters in matlab
2016-07-06 23:03
489 查看
Operators and special characters. 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 ./ idivide - Integer division with rounding option. kron - Kronecker tensor product 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. relop - Short-circuit logical AND && relop - Short-circuit logical OR || and - Element-wise logical AND & or - Element-wise logical OR | not - Logical NOT ~ punct - Ignore function argument or output ~ 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 metaclass - Metaclass for MATLAB class ? Bitwise operators. bitand - Bit-wise AND. bitcmp - Complement bits. bitor - Bit-wise OR. 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中关于pushbotton的左键双击响应问题
- MATLAB安装libsvm无法使用解决办法(转)
- ubuntu 安装Matlab 解决显示中文乱码
- matlab命令
- Matlab 数据规范化代码
- 基于Matlab的自动控制原理 计算传递函数的零极点
- 剔除matlab中NaN
- 【matlab】向量中选择元素插入该向量的位置
- matlab2015b 在 ubuntu16.04中启动崩溃的问题(on startup crash)
- matlab_安装教程
- matlab自学经验成果分享 判断变量是否为指定类型
- matlab自学经验成果分享 字符串的截取
- 基于Matlab的自动控制原理 由开环传递函数画出奈奎斯曲线
- 基于Matlab的自动控制原理 由传递函数画出bode图(幅频特性曲线)
- 基于Matlab的自动控制原理 两个传递函数并联
- 基于Matlab的自动控制原理 在根轨迹图上通过鼠标点击得知该点的k与特征根
- 基于Matlab的自动控制原理 已知传递函数,求其阶跃响应
- 基于Matlab的自动控制原理 根据传递函数画根轨迹
- 基于Matlab的自动控制原理 消除相同的零极点因子
- 基于Matlab的自动控制原理 两个传递函数负反馈并联