Evaluation of the upper incomplete gamma function

버전 1.0.0.0 (1.46 KB) 작성자: Andrei Bejan
This function evaluates the upper incomplete gamma function
다운로드 수: 923
업데이트 날짜: 2010/11/8

라이선스 보기

GAMMA_INCOMPLETE evaluates the upper incomplete gamma function
(incomplete gamma function of the second kind) $\Gamma(a,x)$
at non-negative values of the argument. This function extends the
MATLAB function gammainc to negative values of the parameter a.

SYNOPSIS: fun=gamma_incomplete(x,a)

INPUT x : function argument
a : parameter

OUTPUT fun : a vector of the same length as x; it contains NaN values
at places where elements of x are negative.

REMARKS 1. This function extends the MATLAB function gammainc
to negative values of the parameter a. 2. For positive a this function is equivalent
to the call fun=gamma(a).*gammainc(x,a,'upper');

EXAMPLES

x=0.01:0.01:8;
f=gamma_incomplete(x,1);
plot(x,f);

x=0.001:0.001:.1;
f=gamma_incomplete(x,-2.3);
plot(x,f);

x=0.001:0.001:.2;
f=gamma_incomplete(x,-1);
plot(x,f);

인용 양식

Andrei Bejan (2024). Evaluation of the upper incomplete gamma function (https://www.mathworks.com/matlabcentral/fileexchange/29321-evaluation-of-the-upper-incomplete-gamma-function), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Gamma Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0