how can i derive sin(x) ?

3 次查看(过去 30 天)
hello there I have problem with derivation of sin(x)
syms x
diff(sin(x))
ans
cos(x)
but I want the answer to be xdot*cos(x), can you tell me how can i do it? ,please

采纳的回答

Walter Roberson
Walter Roberson 2018-3-20
syms x(t)
diff(sin(x))

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by