MATLAB: How to write a function for fectorial

helpMATLAB

How to write a function for fectorial

Best Answer

You might find the cumprod (link) function helpful.
Related Question