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?

Antworten (1)

Gefragt:

am 11 Apr. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by