how can i derive sin(x) ?

15 views (last 30 days)
mohammad imad
mohammad imad on 20 Mar 2018
Answered: Walter Roberson on 20 Mar 2018
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

Accepted Answer

Walter Roberson
Walter Roberson on 20 Mar 2018
syms x(t)
diff(sin(x))

More Answers (0)

Community Treasure Hunt

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

Start Hunting!