What's the difference between gammainc & igamma? Which one should I use to compute incomplete upper gamma function? Which one is scaled??
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Anik Faisal
el 25 de Jun. de 2018
Respondida: John D'Errico
el 25 de Jun. de 2018
Incomplete upper gamma function
0 comentarios
Respuesta aceptada
John D'Errico
el 25 de Jun. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Mathematical Functions en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!