打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
matlab操作符

from: http://www.simwe.com/forum/thread-794137-1-1.html

总结了一些Matlab的操作符和特殊字符,希望对大家有用。

Operators and special characters.

  Arithmetic operators.

   plus      - Plus                                

   uplus     - Unary plus                         

   minus     - Minus                             

   uminus    - Unaryminus                        

   mtimes    - Matrixmultiply                     

   times     - Array multiply                    .*  

   mpower    - Matrixpower                      

   power     - Array power                    .^   

   mldivide   - Backslash or leftmatrix divide       

   mrdivide   - Slash or rightmatrix divide         

   ldivide    - Left arraydivide                   .\   

   rdivide    - Right arraydivide                 ./   

   kron      - Kronecker tensor product        kron  

  Relational operators.

   eq        -Equal                         ==    

   ne        - Notequal                     ~=    

   lt        - Lessthan                          

   gt        - Greaterthan                       

   le        - Less thanor equal            <=    

   ge        - Greaterthan 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       - LogicalNOT                        

   xor       - LogicalEXCLUSIVE OR

   any       - True if anyelement of vector is nonzero

   all        - True ifall 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 systemcommand           

   punct     - Assignment                      =

   punct     - Quote                               

   transpose  -Transpose                      .'

   ctranspose - Complex conjugate transpose    '

   horzcat    - Horizontalconcatenation         [,]    

   vertcat    - Verticalconcatenation            [;]    

   subsasgn   - Subscriptedassignment         ( ),{},.   

   subsref    - Subscriptedreference           ( ),{},.   

   subsindex  - Subscriptindex                      

  Bitwise operators.

   bitand    - Bit-wiseAND.

   bitcmp    - Complementbits.

   bitor      - Bit-wise OR.

   bitmax    - Maximumfloating point integer.

   bitxor    - Bit-wiseXOR.

   bitset    - Setbit.

   bitget    - Getbit.

   bitshift   - Bit-wise shift.

  Setoperators.

   union     - Set union.

   unique    - Setunique.

   intersect  - Setintersection.

   setdiff    - Set difference.

   setxor    - Setexclusive-or.

   ismember   - True for setmember.

OperatorUsage

   \a      - Alarm (beep)

   \\      - Backslash

   \$      - Dollar sign

   \b      - Backspace

   \f      - Form feed

   \n     - New line

   \r     - Carriage return

   \t     - Horizontal tab

   \v    - Verticaltab

   \oN or \o{N}    - Characterof octal value N

   \xN or \x{N}    - Characterof hexadecimal value N

   \char            - If acharacter has special meaning in a regular expression, precede itwith    backslash (\) to match itliterally.

 

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Matlab:成功解决Index must be a positive integer or logical
Matlab向量化优化小结
Excel制表技巧(50)公式及函数C
MATLAB的实现Hilbert变换程序_matlab
重新学习MATLAB——相见恨晚的重要应用技巧
Matlab 之 find()函数
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服