debugging limit Error using sym/subsindex
이전 댓글 표시
syms k
f = 2*l1^k*v1 + 1*l2^k*v2 + 3*l3^k*v3
limit(f,k,inf)
This is giving me an error :
Error using sym/subsindex (line 857)
Invalid indexing or function definition. Indexing must follow MATLAB indexing. Function arguments must be symbolic variables, and function body must be sym expression.
Error in sym/subsref (line 902)
R_tilde = builtin('subsref',L_tilde,Idx);
Error in Exploration10 (line 40)
limit(f(x),x,inf)
I tried
syms x h
f = 2*x;
limit(f,x,inf)
But it gives me the same error. What am I doing wrong
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Code Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!