【发布时间】:2011-08-17 11:40:17
【问题描述】:
我正在尝试查找函数的二阶导数,但在初始化符号时出现以下错误:
Error using ==> subsindex
Function 'subsindex' is not defined for values of class 'sym'.
我使用的命令是:
syms x a b c L;
u = (a*x(x-L))+(b*x((x^2)-(L^2)))+(c*x((x^3)-(L^3)));
“u”是我的功能。
【问题讨论】:
-
得到了答案,是括号错误。
标签: matlab integration derivative