Factorial of Large Numbers (>170)

Use of Symbolic Math Toolbox to calculate the factorial of large numbers.
1.3K Downloads
Updated 1 Nov 2008

View License

The function 'fact' calculates the factorial of a number in an almost non-readable format. Therefore the program assumes that the overall result of a calculation is less than 170! although it involves calculation of factorial of numbers that are greater than 170.

This very simple code was written to solve the Problem 2.11 of "An Introduction to Thermal Physics" by D.V. Schroeder. The file 'example.m' uses the function 'fact.m' to solve the problem.

Cite As

Nabin S Sharma (2024). Factorial of Large Numbers (>170) (https://www.mathworks.com/matlabcentral/fileexchange/21965-factorial-of-large-numbers-170), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Systems of Nonlinear Equations in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Facttorial of Large Numbers/

Version Published Release Notes
1.0.0.0