incomplete gamma function calculation
Show older comments
Hi,
I have this equation:
gamma(5,x) = 2
how I can find the value of x?
Thanks
2 Comments
José-Luis
on 24 May 2013
Matlab's gamma function only accepts one input argument.
Jamal Ahmad
on 24 May 2013
Accepted Answer
More Answers (2)
Walter Roberson
on 24 May 2013
0 votes
It appears to me that you will need to proceed numerically.
1 Comment
Jamal Ahmad
on 24 May 2013
Matt J
on 24 May 2013
xv = fzero(@(z) gammainc(5,z.^2)- 2 , sqrt(xguess)).^2;
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!