Factorial of Large Numbers (>170)
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Facttorial of Large Numbers/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |