Confluent hypergeometric function
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 (2024). Confluent hypergeometric function (https://www.mathworks.com/matlabcentral/fileexchange/29766-confluent-hypergeometric-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: SphericalDistributionsRand
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
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 |