Multifactorial function

Computes the nth-multifactorial of an integer

You are now following this Submission

The multifactorial function is a generalization of the factorial function

fact(x,1) = x! = x(x-1)(x-2)...(1)
fact(x,2) = x!! = x(x-2)(x-4)...(1)
fact(x,3) = x!!! = x(x-3)(x-6)...(1)

Cite As

Matt (2026). Multifactorial function (https://nl.mathworks.com/matlabcentral/fileexchange/39588-multifactorial-function), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Share and Distribute Software in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0