incomplete gamma function calculation
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I have this equation:
gamma(5,x) = 2
how I can find the value of x?
Thanks
2 commentaires
Réponse acceptée
Sean de Wolski
le 24 Mai 2013
Modifié(e) : Sean de Wolski
le 24 Mai 2013
I don't believe that's possible:
gammainc(5,0)
gammainc(5,1000);
it never goes near two.
More
options = optimoptions(@fminunc,'tolfun',10^-10,'tolx',10^-12);
xv = fminunc(@(x)(gammainc(5,x)-(10^-4)).^2,4,options)
%xv =15.6926
gammainc(5,xv)
% ans =
% 1.0004e-04
7 commentaires
Plus de réponses (2)
Voir également
Catégories
En savoir plus sur Gamma Functions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!