How to solve this equation which contains gamma function?
1 view (last 30 days)
Show older comments
When r_21 = 1.7591, r_31 = 2.4062, I want to get parameters n and τ.
How can I solve this equations using matlab?
'solve' cannot have the 'gammainc' function (which means incomplete gamma function) so it can be alternated as follows;
Γ(a,z) = exp[gammaln(a)] * [1-gamcdf(z,a)]
please help me, I appreciate you.
0 Comments
Answers (1)
Roger Stafford
on 3 Jul 2014
I would advise you to use 'fsolve' which is a numerical solver rather than the symbolic solver 'solve'. You are more likely to obtain a solution that way.
0 Comments
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!