Table Of Contents

multmx

Version:
    Last Modified: March 15, 2017

    Performs matrix multiplication. multmx(a, b) is equivalent to a*b.

    Syntax

    c = multmx(a, b)
    Legacy name: mtimes

    Inputs

    a

    Scalar or array of any dimension. If both a and b are not scalars, a and b must be matrices and the number of columns in a must equal the number of rows in b.

    b

    Scalar or array of any dimension. If both a and b are not scalars, a and b must be matrices and the number of columns in a must equal the number of rows in b.

    Outputs

    c

    Product of a and b. c is a scalar or an array of any dimension. The output data type is not the greater data type of the two inputs. For example, if one input is double precision and the other input is single precision floating point number, the output is a single type.

    Different Input Types

    If one input is scalar, the other input can be a scalar or an array of any dimension. If both inputs are not scalar, the representation must be floating point or complex. If one input is integer, the other input must be the same integer type or a double scalar.

    A = [1+3i, 5.6; -2.3, 8-i]
    B = [3, 5; 5, 3]
    C = multmx(A, B)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics