Generate dot derivative from symbolic expression instead of partial derivative

20 vues (au cours des 30 derniers jours)
Vassilios Tsounis
Vassilios Tsounis le 30 Juin 2016
Hi,
I have been trying to generate \dot{} derivatives expressions in latex from symbolic expressions. In the least, I would be happy to even get total derivatives. When I declare a symbolic function of a single variable, and use symbolic diff() w.r.t that single variable, why does the latex() function always generate a partial derivative latex expression? Is there any way around this?
Example:
syms f(t);
syms A_x beta_x C_x real;
df = diff(f(t), t);
func = A_x*df*cos(beta_x) + C_x;
latex(func);
Cheers,
Vassilios

Réponses (1)

Wenjie Han
Wenjie Han le 12 Juil 2018
I also met the same problem. Is it solved now?

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by