MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

MATLAB Operators and Special Characters


This page contains a comprehensive listing of all MATLAB operators, symbols, and special
characters.

Arithmetic Operators


Symbol Role More Information
+ Addition plus
+ Unary plus uplus


  • Subtraction minus

  • Unary minus uminus
    .* Element-wise multiplication times



  • Matrix multiplication mtimes
    ./ Element-wise right division rdivide
    / Matrix right division mrdivide
    .\ Element-wise left division ldivide


\


Matrix left division

(also known as backslash)

mldivide

.^ Element-wise power power
^ Matrix power mpower
.' Transpose transpose
' Complex conjugate transpose ctranspose

Relational Operators


Symbol Role More Information
== Equal to eq
~= Not equal to ne
> Greater than gt

2 Program Components

Free download pdf