Importing Latex Code into Matlab Scripts

12 ビュー (過去 30 日間)
David Slater
David Slater 2020 年 1 月 7 日
コメント済み: Vladimir Sovkov 2020 年 1 月 8 日
Is there an easy way to import Latex code into a Matlab script or live script?

回答 (1 件)

Vladimir Sovkov
Vladimir Sovkov 2020 年 1 月 7 日
In live script, go to \insert\Equation\Latex equation or just press Cntrl+Shift+L or type your Latex equation embraced by $ symbols.
  3 件のコメント
Vladimir Sovkov
Vladimir Sovkov 2020 年 1 月 8 日
This is indeed a way of making a good-looking equation in the live script text mode. I am unaware of a simple method to convert it into the executable Matlab code. The syntax differ, hence, a retranslator though is possible in principle, would be a huge complicated system, and I do not think it has been created by anybody thus far.
Vladimir Sovkov
Vladimir Sovkov 2020 年 1 月 8 日
The reverse operation is easier--a Matlab symbolic expression can be turned to a latex formular with the command "latex" in the Symbolic Math Toolbox.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by