How to write the codes for this gamma function?
Show older comments

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.
Accepted Answer
More Answers (1)
Alan Stevens
on 23 Oct 2020
0 votes
Compare your coded value of 154056.7 with the equation's value of 154.056.
1 Comment
MD. Rokibujjaman sovon
on 23 Oct 2020
Categories
Find more on Numeric Solvers 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!