Operators

Operators

Description

Operators

  • all - all of the elements of a matrix satisfy some condition.

  • and - logical 'AND' operator, &

  • any - any of the elements of a matrix satisfy some condition.

  • bitand - Bit-wise AND

  • bitor - Bit-wise OR

  • bitxor - Bit-wise XOR

  • cat - Concatenate arrays.

  • colon - colon operator ':'.

  • ctranspose - Returns complex conjugate transpose: ' operator.

  • eq - equality, == operator.

  • ge - greater than or equal, >= operator.

  • gt - greater than, > operator.

  • horzcat - Horizontal concatenation.

  • ismember - Array elements that are members of another array.

  • ldivide - Left division, .\ operator.

  • le - less than or equal, ≤ operator.

  • lt - less than, < operator.

  • minus - Subtraction, - operator

  • mldivide - Matrix left division, \ operator.

  • mpower - Matrix power, ^ operator

  • mrdivide - Matrix right division, / operator.

  • mtimes - Matrix multiplication, * operator

  • ne - Inequality, ~= operator

  • not - not logical, ~ operator

  • or - logical 'OR' operator, |

  • plus - Addition, + operator

  • power - Element wise power, .^ operator

  • rdivide - Right division, ./ operator

  • shortcutand - Short circuit 'AND' operator, &&

  • shortcutor - Short circuit 'OR' operator, ||

  • subsasgn - Redefine subscripted assignment.

  • subsindex - Convert an object to an index vector.

  • subsref - Subscripted reference.

  • mtimes - Element wise multiplication, .* operator

  • transpose - Returns vector or matrix transpose: .' operator.

  • uminus - Unary minus, - operator

  • uplus - Unary plus, + operator

  • vertcat - Vertical concatenation.

Last updated