Hypergeom function can't get numerical value

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 comentarios

Walter Roberson
Walter Roberson el 3 de Feb. de 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.
san -ji
san -ji el 6 de Feb. de 2014
Editada: san -ji el 6 de Feb. de 2014
Yes,I found it could be operated when second argument >0. Thank you!

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 3 de Feb. de 2014

Editada:

el 6 de Feb. de 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by