Main Content

Pascal matrix

`P = pascal(`

returns a Pascal’s Matrix of order `n`

)`n`

. `P`

is
a symmetric positive definite matrix with integer entries taken from Pascal's
triangle. The inverse of `P`

has integer entries.

`P = pascal(`

returns the lower
triangular Cholesky factor (up to the signs of the columns) of the Pascal matrix.
`n`

,1)`P`

is *involutary*, that is, it is its own
inverse.

`P = pascal(`

returns a transposed and
permuted version of `n`

,2)`pascal(n,1)`

. In this case,
`P`

is a cube root of the identity matrix.

`P = pascal(___,`

returns a matrix of class `classname`

)`classname`

using any of the input
argument combinations in previous syntaxes. `classname`

can be
`'single'`

or `'double'`

.