Operators

Operators allow you to perform mathematical functions on variables, evaluate conditions and decide which conditions to choose.

For all of the examples in the following tables use
A = [0 2; 2 0] and B = [0 1; 2 3]

The Matlab mathematical operators include:

[table id=1/]

The Matlab relational operators include:

[table id=2/]

The Matlab logical operators include:

[table id=3/]