The numbers p and q are the numbers of values a and b in the numerator and denominator (respectively), and the Pochhammer symbol
is defined by
Many other functions can be expressed in terms of the generalized hypergeometric function. For example,
where the dash means that the list of parameters is empty. The generalized hypergeometric function can be computed with hypergeom from the Symbolic Math Toolbox, but it is not available in Cody or basic MATLAB.
Write a function to evaluate the generalized hypergeometric function.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers6
Suggested Problems
-
The Hitchhiker's Guide to MATLAB
3406 Solvers
-
Project Euler: Problem 5, Smallest multiple
1651 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
647 Solvers
-
Calculate the Hamming distance between two strings
344 Solvers
-
Create the following sequence : 0 1 1 4 9 25 64 169 ...
203 Solvers
More from this Author323
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!