Stirling´s approximation returns the logarithm of the factorial value or the factorial value for n as large as 170 (a greater value returns INF for it exceeds the largest floating point number, e+308). For a better expansion it is used the Kemp (1989) and Tweddle (1984) suggestions.
It needs to input n - can be a fractional or a scalar and o - option of the result (logarithm of the factorial value = 1; factorial value = 2)[default = 2].
인용 양식
Antonio Trujillo-Ortiz (2026). Stirling (https://kr.mathworks.com/matlabcentral/fileexchange/3600-stirling), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R11
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Industrial Statistics에 대해 자세히 알아보기
태그
| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0.0 | It was added an appropriate format to cite this file. |
