Can I use d/dt or overdot notation for symbolic equations?
Show older comments
Using symbolic equations Matlab does some handy stuff like converting theta_1 to the greek symbol with the appropriate subscript. Is there a way to convert a derivative the same way? So that it will display as dtheta/dt or with an overdot (latex: \dot{\theta})?
5 Comments
John D'Errico
on 7 Sep 2022
Edited: John D'Errico
on 7 Sep 2022
syms y(t)
diff(y)
In the right places, is this what you want? Its just display though. No matter what, a picture. What matters is mathematics, NOT the picture of mathematics. How you display the mathematics is just fluff in the end.
The overdot isn’t an option, however it will display correctly otherwise —
syms theta_1(t)
deriv = diff(theta_1)
.
cdlapoin
on 7 Sep 2022
Star Strider
on 7 Sep 2022
Accepted Answer
More Answers (0)
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
