MATLAB Answers

0

symbolic derivative with respect to time

Asked by atabak mostafavi on 21 Aug 2019
Latest activity Answered by KSSV
on 21 Aug 2019
Accepted Answer by KSSV
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.

Tags

1 Answer

Answer by KSSV
on 21 Aug 2019
 Accepted Answer

syms x(t)
f = sin(x(t))
diff(f,t)

  0 Comments

Sign in to comment.