필터 지우기
필터 지우기

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

채택된 답변

John D'Errico
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개)

카테고리

Help CenterFile Exchange에서 Special Functions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by