symbolic derivative with respect to time

63 visualizzazioni (ultimi 30 giorni)
atabak mostafavi
atabak mostafavi il 21 Ago 2019
Risposto: KSSV il 21 Ago 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.

Risposta accettata

KSSV
KSSV il 21 Ago 2019
syms x(t)
f = sin(x(t))
diff(f,t)

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by