Confluent Hypergeometric Function of the First Kind
조회 수: 46 (최근 30일)
이전 댓글 표시
Is there a way to calculate this function in matlab, specifically in 2013a?
I got this function in Mathmatica, it's called Hypergeometric1F1 there. I've seen kummerU in matlab, but the definitions look different. in Mathmatica the definition is: http://mathworld.wolfram.com/ConfluentHypergeometricFunctionoftheFirstKind.html in matlab it's different: http://www.mathworks.com/help/symbolic/kummeru.html
댓글 수: 0
답변 (1개)
Brendan Hamm
2015년 12월 24일
The kummerU function is the Confluent Hypergeometric Function of the Second Kind.
hypergeom(a,b,z) is the Confluent Hypergeometric Function of the First Kind.
Test it:
>> F = @(a,b,z) gamma(b)/(gamma(b-a)*gamma(a))*integral(@(t) exp(z.*t).*t.^(a-1).*(1-t).^(b-a-1),0,1);
>> F(1,2,-pi)
ans =
0.3046
>> hypergeom(1,2,-pi)
ans =
0.3046
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!