<< Nelson 0.4.9.0 elementary functions abs >>

### elementary functions

• absAbsolute value
• andlogical 'AND' operator, &
• anglePhase angle
• base2decConvert number in a base to decimal.
• bin2decConvert number in base 2 to decimal.
• bin2numConvert two's complement binary string to number.
• castConverts variable to a different data type
• ceilRound up
• circshiftCircular shift
• coloncolon operator ':'.
• complexCreates an complex number.
• conjComplex conjugate
• ctransposeReturns complex conjugate transpose: ' operator.
• dec2baseConvert decimal number to another base.
• dec2binConvert decimal number to base 2.
• dec2hexConvert decimal number to base 16.
• dispDisplay a variable.
• eqequality, == operator.
• expExponential
• factorialFactorial function
• fixRound towards zero
• flipFlip order of elements
• flipdimFlip array along specified dimension
• fliplrFlip order of elements left to right
• flipudFlip order of elements up to dow
• floorRound down
• gammaGamma special function
• gegreater than or equal, >= operator.
• gtgreater than, > operator.
• hex2decConvert number in base 16 to decimal.
• horzcatHorizontal concatenation.
• imagImaginary part of an complex number.
• isapproxReturn true if arguments are approximately equal, within the precision.
• isequalReturn true if all arguments x1, x2, ... , xn are equal (same dimensions, same values).
• isequalnReturn true if all arguments x1, x2, ... , xn are equal (same dimensions, same values or NaNs).
• isequaltoReturn true if all arguments x1, x2, ... , xn are equal (same type, same dimensions, same values or NaNs).
• isfiniteCheck for finite entries.
• isinfCheck for Infinity entries.
• ismissingCheck for missing values.
• isnanCheck for Not a Number entries.
• isvectorChecks input is vector.
• ldivideLeft division, .\ operator.
• leless than or equal, ≤ operator.
• lengthLength of an object.
• linspacelinearly spaced vector constructor.
• logNatural logarithm.
• log10Common logarithm (base 10).
• log1plog(1 + x) accurately for small values of x.
• log2dissect floating-point numbers into base 2 exponent and mantissa.
• logspacelogarithmically spaced vector constructor.
• ltless than, < operator.
• maxMaximum elements of an array.
• meanMean of array elements.
• minMinimum elements of an array.
• minusSubtraction, - operator
• mldivideMatrix left division, \ operator.
• modModulus after division.
• mpowerMatrix power, ^ operator
• mrdivideMatrix right division, / operator.
• mtimesMatrix multiplication, * operator
• ndimsNumber of dimensions of an array.
• neInequality, ~= operator
• normMatrix and vector norms
• notnot logical, ~ operator
• num2binConvert number to binary representation.
• numelNumber of elements.
• orlogical 'OR' operator, |
• powerElement wise power, .^ operator
• prodProduct of array elements.
• rdivideRight division, ./ operator
• realReal part of an complex number.
• remRemainder after division.
• repmatReplicate and tile an array.
• reshapeReshapes a vector or a matrix to a different size matrix.
• roundRound to nearest integer
• shortcutandShort circuit 'AND' operator, &&
• shortcutorShort circuit 'OR' operator, ||
• sizeSize of an object.
• sortSort array elements by quick sort algorithm.
• sqrtSquare root.
• subsindexConvert an object to an index vector.
• sumSum of array elements.
• swapbytesSwap byte ordering.
• mtimesElement wise multiplication, .* operator
• transposeReturns vector or matrix transpose: .' operator.
• uminusUnary minus, - operator
• uplusUnary plus, + operator
• vertcatVertical concatenation.