Differential wrt qDot(t)

syms t_1(t)
f = sin(t_1) + cos(t_1)
diff(f, t) % Is Ok
diff(f, t_1) % should give us = cos(t_1)-sin(t_1), but we get error:
"Error using sym/diff Arguments, except for the first, must not be symbolic functions."
How should we calculate this in matlab?

Respuestas (1)

Categorías

Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 11 de Abr. de 2018

Respondida:

el 17 de Abr. de 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by