pascal
Pascal matrix
Description
returns a Pascal Matrix of order P = pascal(n)n.
P is a symmetric positive definite matrix with integer
entries taken from Pascal's triangle. The inverse of P has
integer entries.
Examples
Input Arguments
Output Arguments
Limitations
When the elements of a Pascal matrix are too large, exceeding the largest positive floating-point number,
pascalreturnsInffor those elements. This largest positive floating-point number is approximately 1.79e308 for double precision and approximately 3.40e38 for single precision. For example, this code returnsInf.P = pascal(516); P(end)
More About
Extended Capabilities
Version History
Introduced before R2006a
