# Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English verison of the page.

# Operators and Elementary Operations

Arithmetic, relational, and logical operations on symbolic objects

## Functions

 `minus` Symbolic subtraction `plus` Symbolic addition `times` Symbolic array multiplication `ldivide` Symbolic array left division `rdivide` Symbolic array right division `power` Symbolic array power `mtimes` Symbolic matrix multiplication `mldivide` Symbolic matrix left division `mrdivide` Symbolic matrix right division `mpower` Symbolic matrix power `transpose` Symbolic matrix transpose `ctranspose` Symbolic matrix complex conjugate transpose

#### Operators

 `eq` Define equation `ge` Define greater than or equal to relation `gt` Define greater than relation `le` Define less than or equal to relation `lt` Define less than relation `ne` Define inequality

#### Functions

 `has` Check if expression contains particular subexpression `in` Numeric type of symbolic input `isequal` Test equality of symbolic inputs `isequaln` Test symbolic objects for equality, treating NaN values as equal `piecewise` Conditionally defined expression or function

#### Operators

 `and` Logical AND for symbolic expressions `not` Logical NOT for symbolic expressions `or` Logical OR for symbolic expressions `xor` Logical XOR for symbolic expressions

#### Functions

 `all` Test whether all equations and inequalities represented as elements of symbolic array are valid `any` Test whether at least one of equations and inequalities represented as elements of symbolic array is valid `has` Check if expression contains particular subexpression `in` Numeric type of symbolic input `isequaln` Test symbolic objects for equality, treating NaN values as equal `isfinite` Check whether symbolic array elements are finite `isinf` Check whether symbolic array elements are infinite `isnan` Check whether symbolic array elements are NaNs `logical` Check validity of equation or inequality `nnz` Number of nonzero elements `nonzeros` Nonzero elements
 `ceil` Round symbolic matrix toward positive infinity `fix` Round toward zero `floor` Round symbolic matrix toward negative infinity `frac` Symbolic matrix element-wise fractional parts `mod` Symbolic modulus after division `quorem` Quotient and remainder `round` Symbolic matrix element-wise round
 `conj` Symbolic complex conjugate `imag` Imaginary part of complex number `real` Real part of complex number