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 ExchangeSpecial 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