Generate dot derivative from symbolic expression instead of partial derivative
19 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!