How to write the codes for this gamma function?
Mostrar comentarios más antiguos

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.
Respuesta aceptada
Más respuestas (1)
Alan Stevens
el 23 de Oct. de 2020
0 votos
Compare your coded value of 154056.7 with the equation's value of 154.056.
1 comentario
MD. Rokibujjaman sovon
el 23 de Oct. de 2020
Categorías
Más información sobre Numeric Solvers en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
