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
Walter Roberson
2014년 2월 3일
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.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Common Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!