Operator 
Function


Unary Operators


+ 
positive number

 
negate

% 
comment

' 
transpose

@ 
function handle

Binary Operators


+ 
addition

 
subtraction

* 
inner product (multiplication)

/ 
division (matrix right)

\ 
left division

^ 
power

: (colon) 
generates a sequence

Elementwise Operators


.* 
elementwise inner product (multiplication)

./ 
elementwise division (matrix right)

.\ 
elementwise left division

.^ 
elementwise power

.' 
elementwise transpose

Relational Operators


< 
less than

<= 
less than or equal to

> 
greater than

>= 
greater than or equal to

== 
equal to

~= 
not equal to

Logical Operators


&& 
logical AND

  
logical OR

~ 
logical NOT

Other Operators


, 
Array row separator

; 
Array column separator
