incomplete gamma function calculation
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I have this equation:
gamma(5,x) = 2
how I can find the value of x?
Thanks
2 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 24 Mai 2013
Bearbeitet: Sean de Wolski
am 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 Kommentare
Weitere Antworten (2)
Siehe auch
Kategorien
Mehr zu Gamma Functions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!