Confluent Hypergeometric Function of the First Kind

32 views (last 30 days)
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

Answers (1)

Brendan Hamm
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
Muhammad Abdullah on 9 Jul 2024
I have a characteristic function which is
this is derived from laplace transform
, here -p = iota*t
from the characteristic function, we made the confluent hypergeometric function as
I want to solve this confluent function via the following equation
,here c=a+b & z =N*x*(a+b/a)*(p/p+1)
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...

Sign in to comment.

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!