Out of Memory. Infinite Recursion.
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi all,
I tried to run polylog with a set of matrix:
Li = polylog(2,QED1);
% QED1 is a (8887 x 1000) matrix.
but I got the error as below:
Out of memory. The likely cause is an infinite recursion within the program.
Error in sym/double (line 703)
X = eval(Xstr(2:end-1)); % drop quotes
Error in sym.useSymForNumeric (line 175)
res = cast(fn(args{:}),superiorfloat(varargin{:}));
Error in double/polylog (line 8)
Z = sym.useSymForNumeric(@polylog, N, X);
Error in Untitled2 (line 46)
Li = polylog(2,QED1);
Is there any way I can solve this problem? Thank you so much for the help!
댓글 수: 0
채택된 답변
G A
2021년 8월 30일
doc polylog
Argument of the polylogarithm, specified as a number, array, symbolic number, symbolic variable, symbolic function, symbolic expression, or symbolic array.
Not a matrix. Try
Li = polylog(2,QED1(:));
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Numbers and Precision에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!