Publish equation in latex
1 次查看(过去 30 天)
显示 更早的评论
I am working with symbolic expressions and I am calculating a vector which I want to publish formated with matlab.
So my question can be summarized to: How do I print y = (x^2,4*x^2) as

without typing it manually in the system
0 个评论
采纳的回答
madhan ravi
2020-6-5
编辑:madhan ravi
2020-6-16
Use Livescript
y = [x^2; 4*x^2]
1 个评论
Mehmed Saad
2020-6-16
编辑:Mehmed Saad
2020-6-17
have your tried latex(y)
Edit: Please Run the code before printing
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 LaTeX 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!