Table Of Contents

polyvalmx

Version:
    Last Modified: March 15, 2017

    Evaluates a polynomial at a matrix value you specify.

    Syntax

    c = polyvalmx(a, b)
    Legacy name: polyvalm

    Inputs

    a

    Coefficients in descending order of power of the polynomial you want to evaluate. a is a vector.

    b

    Value at which you want to evaluate a. b is a square matrix.

    Outputs

    c

    Evaluated values of a. MathScript uses the following equation for calculating c: c = a[1]*b^n+ ...+a[n]*b+a[n+1]*I, where n is the degree of a. c is a matrix.

    A = [1, 1, 1];
    B = [1, 2; 3, 4];
    C = polyvalmx(A, B)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics