Confluent Hypergeometric Function of the First Kind
32 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Brendan Hamm
on 24 Dec 2015
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
1 Comment
Muhammad Abdullah
on 9 Jul 2024
hello @Brendan Hamm
I have a characteristic function which is
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1730846/image.png)
this is derived from laplace transform
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1730851/image.png)
from the characteristic function, we made the confluent hypergeometric function as ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1730856/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1730856/image.png)
I want to solve this confluent function via the following equation
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1730861/image.png)
I want to know we have to input z as a single complex number or a matrix of complex numbers?... have to compare the results with the kummerU function...
after this i have to perform the inverse laplace function (ilaplace) also...which doesn't handle the numeric double values...so have to perform this inverse via an algo also...
See Also
Categories
Find more on Special Functions 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!