Q =
syms G(h) h(t) t
Q = G(h)
dGdt = diff(Q,t) % -> D(G)(h(t)) occurs
s = children(dGdt)
% Now define G(h) and derive:
G = h^2;
dGdh = diff(G,h)
subs(dGdt,s{1},dGdh)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!