作业帮 > 综合 > 作业

matlab编程中sym2poly报错求指点

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/11/07 18:42:01
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)));
请问这是怎么回事?需要怎么改?
sym2poly这个函数用法对吗? 用help查一下 它的参数及类型