Differential wrt qDot(t)

3 次查看(过去 30 天)
Saifuran Noori
Saifuran Noori 2018-4-11
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?

回答(1 个)

Ngoc Thanh Hung Bui
I want to know too

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by