How to convert latex representation to symbolic math?

12 次查看(过去 30 天)
How can we convert Latex representation into symbolic math.
For example,
LaTex representation
y = \int x^2
Has an equivalent symbolic math representation as
syms x
y = int(x*x, x)
Is there a function to perform this action? I know that there exists a function latex in matlab. But I want the exact inverse of it.

回答(1 个)

Walter Roberson
Walter Roberson 2017-12-30
Use Wolfram Alpha to import the LaTex string as MATHEMATICA code and then to convert the MATHEMATICA code to MATLAB.
I make no promises at all for how well this will work.
  3 个评论
Aakash
Aakash 2023-3-26
can someone send me an example code for doing this?
Thank you

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by