MATLAB Answers

symbolic derivative with respect to time

50 views (last 30 days)
atabak mostafavi
atabak mostafavi on 21 Aug 2019
Answered: KSSV on 21 Aug 2019
hello everybody
Im trying to take derivative from an equation and i need to have symbolic derivative of my terms with respect to time for example I want to write :
sin(x)
and get
I`ve already tried functinal derivative and diff commends, maybe I didn`t used them in correct way but they didn`t work that way. anyway please let me know if there is a way to do this kind of derivative in matlab.

  0 Comments

Sign in to comment.

Accepted Answer

KSSV
KSSV on 21 Aug 2019
syms x(t)
f = sin(x(t))
diff(f,t)

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags