What's the difference between gammainc & igamma? Which one should I use to compute incomplete upper gamma function? Which one is scaled??
조회 수: 3 (최근 30일)
이전 댓글 표시
Incomplete upper gamma function
댓글 수: 0
채택된 답변
John D'Errico
2018년 6월 25일
igamma lives in the stats toolbox. It gives you an upper tail integral.
gammainc lives in MATLAB proper. gammainc is scaled.
The two functions also swap meanings of the arguments. So be careful.
1 - igamma(5,2)/gamma(5)
ans =
0.0526530173437112
gammainc(2,5)
ans =
0.0526530173437111
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Special Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!