What's the difference between gammainc & igamma? Which one should I use to compute incomplete upper gamma function? Which one is scaled??
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Anik Faisal
il 25 Giu 2018
Risposto: John D'Errico
il 25 Giu 2018
Incomplete upper gamma function
0 Commenti
Risposta accettata
John D'Errico
il 25 Giu 2018
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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Special Functions in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!