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?

Réponses (1)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by