How to solve this equation which contains gamma function?

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.

답변 (1개)

Roger Stafford
Roger Stafford 2014년 7월 3일

1 개 추천

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.

카테고리

도움말 센터File Exchange에서 Special Functions에 대해 자세히 알아보기

질문:

2014년 7월 3일

답변:

2014년 7월 3일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by