symbolic derivative with respect to time

70 vues (au cours des 30 derniers jours)
atabak mostafavi
atabak mostafavi le 21 Août 2019
Réponse apportée : KSSV le 21 Août 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.

Réponse acceptée

KSSV
KSSV le 21 Août 2019
syms x(t)
f = sin(x(t))
diff(f,t)

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by