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

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 2014년 2월 6일
편집: san -ji 2014년 2월 6일
Yes,I found it could be operated when second argument >0. Thank you!

댓글을 달려면 로그인하십시오.

답변 (0개)

질문:

2014년 2월 3일

편집:

2014년 2월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by