Generates a Pascal matrix.
c = pascal(a)
c = pascal(a, s)
Order of the Pascal matrix. a is a positive integer.
Determines the output type. s is string with the following values.
|'single'||Output type is single.|
|'double'||Output type is double.|
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