How to write the codes for this gamma function?
Ältere Kommentare anzeigen

I am trying to find the value for alpha and beta. the answer should be alpha=395.2359 and beta=2.0698
But i am not getting this answer.
I used this code.
syms a b
[a,b]=solve(a.*gamma((1/b) + 1) - 350.1 == 0, a.^2.*gamma((2/b) + 1) - 154056.7 == 0)
Can someone tell me where is the problem in my codes and what should be the right codes?
Thanks.
Akzeptierte Antwort
Weitere Antworten (1)
Alan Stevens
am 23 Okt. 2020
0 Stimmen
Compare your coded value of 154056.7 with the equation's value of 154.056.
Kategorien
Mehr zu Numeric Solvers finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
