How take derivative d/dt(sinx), but have result be cosx * d/dt(x) ?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Justin Burzachiello
am 25 Jun. 2021
Kommentiert: Justin Burzachiello
am 25 Jun. 2021
Hello. I'd like to take a derivative of a function, sin(x). I have defined xDot as a symbol (the temporal derivative of x).
However, when I take d/dt (sinx) through
diff(sin(x), t, 1)
, I get 0. I want to have the returned expression be cos(x)*d/dt(x). How can I do this?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!