matlab编程中sym2poly报错求指点matlab程序中有两句是:syms x;p=sym2poly(diff((x^2-1)^(n+1),n+1)/(2^(n+1)*factorial(n+1)));ti=roots(p);运行时报错:Error using ==> putenvmaplevalue truncatedError in ==> mapleinit at 41putenvmaple('M

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/12 16:13:35
matlab编程中sym2poly报错求指点matlab程序中有两句是:syms x;p=sym2poly(diff((x^2-1)^(n+1),n+1)/(2^(n+1)*factorial(n+1)));ti=roots(p);运行时报错:Error using ==> putenvmaplevalue truncatedError in ==> mapleinit at 41putenvmaple('M

matlab编程中sym2poly报错求指点matlab程序中有两句是:syms x;p=sym2poly(diff((x^2-1)^(n+1),n+1)/(2^(n+1)*factorial(n+1)));ti=roots(p);运行时报错:Error using ==> putenvmaplevalue truncatedError in ==> mapleinit at 41putenvmaple('M
matlab编程中sym2poly报错求指点
matlab程序中有两句是:
syms x;
p=sym2poly(diff((x^2-1)^(n+1),n+1)/(2^(n+1)*factorial(n+1)));
ti=roots(p);
运行时报错:
Error using ==> putenvmaple
value truncated
Error in ==> mapleinit at 41
putenvmaple('MAPLE',base);
Error in ==> maple at 113
[result,status] = maplemex(statement);
Error in ==> sym.maple at 85
[result,status] = maple(statement);
Error in ==> sym.mpower at 17
B = maple(A,'^',p);
Error in ==> tiAi at 3
p=sym2poly(diff((x^2-1)^(n+1),n+1)/(2^(n+1)*factorial(n+1)));
请问这是怎么回事?需要怎么改?

matlab编程中sym2poly报错求指点matlab程序中有两句是:syms x;p=sym2poly(diff((x^2-1)^(n+1),n+1)/(2^(n+1)*factorial(n+1)));ti=roots(p);运行时报错:Error using ==> putenvmaplevalue truncatedError in ==> mapleinit at 41putenvmaple('M
sym2poly这个函数用法对吗? 用help查一下 它的参数及类型