Error using mupadmex " MuPAD
If I run the following code, lagu=@(j,k,l) feval(symengine,'laguerreL',j,k,l); ele1=@(j,k) lagu(j,k-j,-0.5)*(0.5).^(k-j); ele2=@(j,k) lagu(j,k-j,-0.5)*(-0.5).^(k-j); el=@(j,k) 0.5*i*(ele1(j,k)-ele2(j,k)); double(el(3,2)) res=bsxfun(el,1:2,(1:2).') .
Then it give the answer of "double(el(3,2))" , but gives the following errors for "res"
"Error using mupadengine/feval (line 157) MuPAD error: Error: Second argument: Expecting an arithmetical expression. [laguerreL]
Error in @(j,k,l)feval(symengine,'laguerreL',j,k,l) Error in test (line 6) Error in @(j,k)lagu(j,k-j,-0.5)*(0.5).^(k-j) Error in @(j,k)0.5*i*(ele1(j,k)-ele2(j,k)) res=bsxfun(el,1:2,(1:2).')"
Please help
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!