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
7 件のコメント
その他の回答 (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!