factorial
Factorial function
📝Syntax
R = factorial(M)
📥Input Arguments
Parameter Description
M a integer, real single or real double matrix.
📤Output Arguments
Parameter Description
R result of factorial function.
📄Description

factorial computes the factorial function: the product of all integers values: 1 * 2 * ... * M

💡Examples
R = factorial([1:10])
R = factorial(int8(4))
🔗See Also
gamma
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub