Confluent hypergeometric function

Solves Kummer's differential equation.

You are now following this Submission

This function estimates the solution to Kummer's differential equation within a specified tolerance. Kummer's differential equation is given by:

x*g''(x) + (b - x)*g'(x) - a*g(x) = 0

The code executes a while loop to calculate the generalized hypergeometric series within a specified tolerance.

Supports inputs of x in the form of a scalar, row vector, or column vector.

Cite As

Patrick Mousaw (2026). Confluent hypergeometric function (https://www.mathworks.com/matlabcentral/fileexchange/29766-confluent-hypergeometric-function), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: SphericalDistributionsRand

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Changed the code to calculate the solution using a while loop to a specified tolerance. The while loop is is both faster and more accurate than the vector multiplication method I was using before.

1.1.0.0

Modified code to be able to handle column vector inputs for x.

1.0.0.0