Table Of Contents

pascal

Version:
    Last Modified: March 15, 2017

    Generates a Pascal matrix.

    Syntax

    c = pascal(a)
    c = pascal(a, s)

    Inputs

    a

    Order of the Pascal matrix. a is a positive integer.

    s

    Determines the output type. s is string with the following values.

    Name Description
    'single' Output type is single.
    'double' Output type is double.

    Outputs

    c

    Pascal matrix of order a. c is a symmetric and positive definite matrix. The elements of c are integers and are based on the Pascal triangle.

    C = pascal(4)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics