matlab 符号求导

y=sin(x);x是t的未知函数,即x(t),求y对t的导数...
2026年09月18日 18:23
有2个网友回答
网友(1):

需要知道x和t的函数关系才能求导数啊,比如x = t^2:
syms x y t;
x = t^2;
y = sin(x);
diff(y, t)
结果是:
ans =

2*t*cos(t^2)

网友(2):

cos(x(t))x‘(t)