incomplete gamma function calculation
2 views (last 30 days)
Show older comments
Hi,
I have this equation:
gamma(5,x) = 2
how I can find the value of x?
Thanks
2 Comments
Accepted Answer
Sean de Wolski
on 24 May 2013
Edited: Sean de Wolski
on 24 May 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 Comments
More Answers (2)
See Also
Categories
Find more on Gamma Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!