File Exchange

image thumbnail

Gauss Hypergeometric Function

version 1.0 (4.28 KB) by

Gauss hypergeometric function for real z, z<1



No License

Computes the Gauss hypergeometric function 2F1(a,b;c;z) and its derivative for real z, z<1 by integrating the defining differential equation using the Matlab differential equation solver ode15i.

If 2F1 is to be evaluated for many different z for constant parameters a, b and c, it is suggested to call the function only once and use the output to create a piecewise polynomial approximation of 2F1.

Comments and Ratings (2)

Keah Lim


MATLAB Release
MATLAB 7.3 (R2006b)

Inspired: Generation of Random Variates

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video