Differential wrt qDot(t)

3 views (last 30 days)
Saifuran Noori
Saifuran Noori on 11 Apr 2018
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?

Answers (1)

Ngoc Thanh Hung Bui
Ngoc Thanh Hung Bui on 17 Apr 2018
I want to know too

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!