incomplete gamma function calculation
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I have this equation:
gamma(5,x) = 2
how I can find the value of x?
Thanks
2 个评论
采纳的回答
Sean de Wolski
2013-5-24
编辑:Sean de Wolski
2013-5-24
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
更多回答(2 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Gamma Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!