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