Hypergeom function can't get numerical value
Show older comments
Hi! I have some problem about using Hypergeom function. This is my code:
syms m ;
k=hypergeom([1,1,3/2], [2-m,m+2,2,2],-(2*9.5e-3)^2);
subs(k,m,3)
And I got the following messages:
Error using mupadmex Error in MuPAD command: Invalid arguments. [hypergeom]
Error in sym/subs>mupadsubs (line 139) G = mupadmex('symobj::fullsubs',F.s,X2,Y2);
Error in sym/subs (line 124) G = mupadsubs(F,X,Y);
Error in testhypergeom2 (line 3) subs(k,m,3)
I don't know how to get value from hypergeometric function
Thanks!
2 Comments
Walter Roberson
on 3 Feb 2014
I do not know why it is saying invalid arguments. I can, though, point out that the 2-m in the second argument would become -1 when m = 3, and a negative value in the second argument that has no matching negatives in the first argument, leads to a mathematically undefined value for non-zero third arguments.
Answers (0)
Categories
Find more on Common Operations 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!