# pascal

Version:

Generates a Pascal matrix.

## Syntax

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

## 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.

## 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