[求助]这个错误怎么让它消除?
syms x t;
g=t^(x-1)*exp(-t);
a=int(g,t,0,inf)
这个生成的是gamma(x)
但是我第一次输入a=int(g,t,0,inf); 会有下面这个东西。。
Definite integration: Can't determine if the integral is convergent.Need to know the sign of --> xWill now try indefinite
??? Error using ==> sym.sym>char2sym
Not a valid symbolic expression.
Error in ==> sym.sym at 92
S = char2sym(x);
Error in ==> sym.maple at 92
result = sym(result);
Error in ==> sym.int at 51
r = reshape(maple('map','int',f(:),[x.s '=(' a.s ')..(' b.s ')']),size(f));
我再输入第二次a=int(g,t,0,inf)后就可以正确的显示出结果了;
哪位高手知道错误原因和解决方法啊??谢谢了