Skip to content

plus

 plus - Add numbers, append strings
    This MATLAB function adds arrays A and B by adding corresponding
    elements.

    Syntax
      C = A + B
      C = plus(A,B)

    Input Arguments
      A - Operands
        scalars | vectors | matrices | multidimensional arrays | tables |
        timetables
      B - Operands
        scalars | vectors | matrices | multidimensional arrays | tables |
        timetables

    Examples
      openExample('matlab/AddScalartoArrayExample')
      openExample('matlab/ConcatenateStringsExample')
      openExample('matlab/AddTwoArraysExample')
      openExample('matlab/AddRowAndColumnVectorsExample')
      openExample('matlab/AddVectorToMatrixExample')
      openExample('matlab/AddTablesExample')

    See also minus, sum, cumsum, uplus, append

    Introduced in MATLAB before R2006a
    Documentation for plus
       doc plus