Reputation: 273
How can we convert Latex representation into symbolic math.
For example,
A 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 and I want the exact inverse of this function.
Upvotes: 10
Views: 2667
Reputation: 2660
Matlab latex command converts matlab's syntax to latex's syntax. There is no function in matlab that parses LaTeX syntax into matlab's.
Your closest approximation to latex syntax inside Matlab is MuPAD.
Upvotes: 1